pub struct BundleSpec {
pub id: String,
pub kind: BundleKind,
pub members: Vec<String>,
pub derivation: Option<Derivation>,
pub producer: Option<String>,
pub inputs: Vec<String>,
pub optional_inputs: Vec<String>,
}Available on crate feature
encoder only.Expand description
One bundles entry. A bundle id absent from the document is the scalar
bundle of the variable of the same id.
Fields§
§id: String§kind: BundleKind§members: Vec<String>The variables the bundle’s arrays hold, in file order.
derivation: Option<Derivation>§producer: Option<String>A composite’s producer id, the channels it reads, and the subset a source may lack.
inputs: Vec<String>§optional_inputs: Vec<String>Trait Implementations§
Source§impl Clone for BundleSpec
impl Clone for BundleSpec
Source§impl Debug for BundleSpec
impl Debug for BundleSpec
Source§impl<'de> Deserialize<'de> for BundleSpec
impl<'de> Deserialize<'de> for BundleSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BundleSpec
impl PartialEq for BundleSpec
impl StructuralPartialEq for BundleSpec
Auto Trait Implementations§
impl Forget for BundleSpec
impl Freeze for BundleSpec
impl Move for BundleSpec
impl RefUnwindSafe for BundleSpec
impl Send for BundleSpecwhere
RawVecInner: Send,
impl Sync for BundleSpecwhere
RawVecInner: Sync,
impl Unpin for BundleSpec
impl UnsafeUnpin for BundleSpecwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for BundleSpecwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more