[][src]Struct ommui_data::samplic::handle::MeasurementResult

pub struct MeasurementResult<'a> {
    pub device: &'a dyn LoadableDevice,
    pub sample_id: Uuid,
    pub measurement_index: usize,
    pub result_id: String,
}

Fields

device: &'a dyn LoadableDevicesample_id: Uuidmeasurement_index: usizeresult_id: String

Methods

impl<'a> MeasurementResult<'a>[src]

pub fn load(&'a self) -> Result<f64>[src]

pub fn get_measurement_ref(&'a self) -> Measurement<'a>[src]

pub fn get_sample_ref(&'a self) -> Sample<'a>[src]

pub fn load_result_description(&self) -> Result<ResultDescription>[src]

pub fn load_unit(&self) -> Result<UnitDescription>[src]

Auto Trait Implementations

impl<'a> !Sync for MeasurementResult<'a>

impl<'a> !Send for MeasurementResult<'a>

impl<'a> Unpin for MeasurementResult<'a>

impl<'a> !RefUnwindSafe for MeasurementResult<'a>

impl<'a> !UnwindSafe for MeasurementResult<'a>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err