pub struct Metadata {Show 24 fields
pub selected_entry: u32,
pub descriptor_id: u32,
pub clock_id: u32,
pub provenance_id: u32,
pub epistemic_role: &'static str,
pub stream_id: u32,
pub frame_id: u32,
pub mode: u16,
pub scalar: Scalar,
pub channels: u32,
pub bins: u32,
pub records: u64,
pub timing: Timing,
pub transform: Option<Transform>,
pub window_coefficients_le: Option<Box<[u8]>>,
pub channel_order: Box<str>,
pub purpose: Box<str>,
pub relation: Box<str>,
pub quantity: Box<str>,
pub units: Box<str>,
pub model_uri: Box<str>,
pub units_per_stored_sample: f64,
pub stored_offset: f64,
pub index_digest: [u8; 32],
}Expand description
Scientific declarations, retained exactly before any JS number conversion. Scale/offset are declarations, never automatically applied to stored samples.
Fields§
§selected_entry: u32§descriptor_id: u32§clock_id: u32§provenance_id: u32§epistemic_role: &'static str§stream_id: u32§frame_id: u32§mode: u16§scalar: Scalar§channels: u32§bins: u32§records: u64§timing: Timing§transform: Option<Transform>§window_coefficients_le: Option<Box<[u8]>>§channel_order: Box<str>§purpose: Box<str>§relation: Box<str>§quantity: Box<str>§units: Box<str>§model_uri: Box<str>§units_per_stored_sample: f64§stored_offset: f64§index_digest: [u8; 32]Trait Implementations§
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnsafeUnpin for Metadata
impl UnwindSafe for Metadata
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