pub struct QualityControl { /* private fields */ }Expand description
Quality control
Implementations§
Source§impl QualityControl
impl QualityControl
Sourcepub fn add_quality_metric(&mut self, metric: QualityMetric)
pub fn add_quality_metric(&mut self, metric: QualityMetric)
Register a quality metric entry.
Sourcepub fn get_quality_metric(&self, metric_id: &str) -> Option<&QualityMetric>
pub fn get_quality_metric(&self, metric_id: &str) -> Option<&QualityMetric>
Look up a quality metric by id.
Sourcepub fn add_quality_standard(&mut self, standard: QualityStandard)
pub fn add_quality_standard(&mut self, standard: QualityStandard)
Register a quality standard entry.
Sourcepub fn get_quality_standard(
&self,
standard_id: &str,
) -> Option<&QualityStandard>
pub fn get_quality_standard( &self, standard_id: &str, ) -> Option<&QualityStandard>
Look up a quality standard by id.
Auto Trait Implementations§
impl Freeze for QualityControl
impl RefUnwindSafe for QualityControl
impl Send for QualityControl
impl Sync for QualityControl
impl Unpin for QualityControl
impl UnsafeUnpin for QualityControl
impl UnwindSafe for QualityControl
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
§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