pub enum Reading {
Value {
value: f64,
coverage_pct: u8,
duplicates: u32,
},
Missing {
coverage_pct: u8,
},
}Expand description
One metric’s verdict for one interval.
Reading::Missing carries no value on purpose. There is no field a
caller could read “anyway”, which is what keeps a thin interval out of a
downstream number.
Variants§
Value
The metric was measured well enough to use.
Fields
Missing
The metric was sampled too thinly. Nothing is filled in.
Trait Implementations§
impl Copy for Reading
impl StructuralPartialEq for Reading
Auto Trait Implementations§
impl Forget for Reading
impl Freeze for Reading
impl Move for Reading
impl RefUnwindSafe for Reading
impl Send for Reading
impl Sync for Reading
impl Unpin for Reading
impl UnsafeUnpin for Reading
impl UnwindSafe for Reading
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