pub struct MeasurementRecord { /* private fields */ }Expand description
Validated metadata index for one physical measurement sample.
Implementations§
Source§impl MeasurementRecord
impl MeasurementRecord
pub const fn record_id(self) -> u64
pub const fn source_id(self) -> SemanticId
pub const fn physical(self) -> PhysicalFieldSemantics
pub const fn raw_payload(self) -> PayloadReference
pub const fn calibration(self) -> CalibrationDeclaration
pub const fn quality(self) -> MeasurementQuality
pub const fn timestamp(self) -> Option<RecordClockStamp>
pub const fn provenance(self) -> ProvenanceDeclaration
pub const fn projection(self) -> ProjectionDeclaration
pub const fn new( record_id: u64, source_id: SemanticId, field_payload: ResolvedFieldPayloadBinding, provenance: ProvenanceDeclaration, calibration: CalibrationDeclaration, quality: MeasurementQuality, timestamp: Option<RecordClockStamp>, projection: ProjectionDeclaration, ) -> Result<Self, RecordError>
Trait Implementations§
Source§impl Clone for MeasurementRecord
impl Clone for MeasurementRecord
impl Copy for MeasurementRecord
Source§impl Debug for MeasurementRecord
impl Debug for MeasurementRecord
Source§impl PartialEq for MeasurementRecord
impl PartialEq for MeasurementRecord
impl StructuralPartialEq for MeasurementRecord
Auto Trait Implementations§
impl Freeze for MeasurementRecord
impl RefUnwindSafe for MeasurementRecord
impl Send for MeasurementRecord
impl Sync for MeasurementRecord
impl Unpin for MeasurementRecord
impl UnsafeUnpin for MeasurementRecord
impl UnwindSafe for MeasurementRecord
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