pub struct ThresholdResult {
pub threshold: Threshold,
pub actual: f64,
pub passed: bool,
}Expand description
The outcome of evaluating one Threshold against a RunReport.
Fields§
§threshold: Threshold§actual: f64The actual metric value observed in the run.
passed: boolTrait Implementations§
Source§impl Clone for ThresholdResult
impl Clone for ThresholdResult
Source§fn clone(&self) -> ThresholdResult
fn clone(&self) -> ThresholdResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ThresholdResult
impl Debug for ThresholdResult
Auto Trait Implementations§
impl Freeze for ThresholdResult
impl RefUnwindSafe for ThresholdResult
impl Send for ThresholdResult
impl Sync for ThresholdResult
impl Unpin for ThresholdResult
impl UnsafeUnpin for ThresholdResult
impl UnwindSafe for ThresholdResult
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