pub struct DescriptorSpec<'a> {Show 17 fields
pub clock_id: Option<u32>,
pub frame_id: Option<u32>,
pub provenance_id: u32,
pub medium_id: Option<u32>,
pub transform_id: Option<u32>,
pub calibration_id: Option<u32>,
pub quantity: &'a str,
pub units: &'a str,
pub channels: Option<u32>,
pub layout: Option<&'a str>,
pub scalar: Option<AuxScalar>,
pub model_uri: &'a str,
pub sample_rate: Option<RationalRate>,
pub valid_record_count: Option<u64>,
pub validity_mask_entry: Option<u32>,
pub source_entries: &'a [u32],
pub extension_metadata: &'a [u32],
}Expand description
Descriptor configuration for building Schema 3 (PayloadDescriptor) blocks.
Fields§
§clock_id: Option<u32>§frame_id: Option<u32>§provenance_id: u32§medium_id: Option<u32>§transform_id: Option<u32>§calibration_id: Option<u32>§quantity: &'a str§units: &'a str§channels: Option<u32>§layout: Option<&'a str>§scalar: Option<AuxScalar>§model_uri: &'a str§sample_rate: Option<RationalRate>§valid_record_count: Option<u64>§validity_mask_entry: Option<u32>§source_entries: &'a [u32]§extension_metadata: &'a [u32]Trait Implementations§
Source§impl<'a> Clone for DescriptorSpec<'a>
impl<'a> Clone for DescriptorSpec<'a>
Auto Trait Implementations§
impl<'a> Freeze for DescriptorSpec<'a>
impl<'a> RefUnwindSafe for DescriptorSpec<'a>
impl<'a> Send for DescriptorSpec<'a>
impl<'a> Sync for DescriptorSpec<'a>
impl<'a> Unpin for DescriptorSpec<'a>
impl<'a> UnsafeUnpin for DescriptorSpec<'a>
impl<'a> UnwindSafe for DescriptorSpec<'a>
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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