pub struct MeasurementReportFile { /* private fields */ }Expand description
One validated file record recovered from a measurement report.
The record retains its source path and full nested measurement contract so consumers can choose the clip, mesh, and cardinality policies appropriate to their workflow.
Implementations§
Source§impl MeasurementReportFile
impl MeasurementReportFile
Sourcepub fn input(&self) -> &InputIdentity
pub fn input(&self) -> &InputIdentity
Immutable identity of the source bytes used to produce this record.
Sourcepub fn measurements(&self) -> &MeasurementContract
pub fn measurements(&self) -> &MeasurementContract
Validated nested measurement contract.
Sourcepub fn into_measurements(self) -> MeasurementContract
pub fn into_measurements(self) -> MeasurementContract
Consume this record and return its validated measurement contract.
Trait Implementations§
Source§impl Clone for MeasurementReportFile
impl Clone for MeasurementReportFile
Source§fn clone(&self) -> MeasurementReportFile
fn clone(&self) -> MeasurementReportFile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MeasurementReportFile
impl RefUnwindSafe for MeasurementReportFile
impl Send for MeasurementReportFile
impl Sync for MeasurementReportFile
impl Unpin for MeasurementReportFile
impl UnsafeUnpin for MeasurementReportFile
impl UnwindSafe for MeasurementReportFile
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