#[non_exhaustive]pub struct BaselineReading {
pub observed: Option<MetricValue>,
pub evidence: Evidence,
pub change: Option<MetricValue>,
}Expand description
What the baseline said about the metric a rule about change reads.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.observed: Option<MetricValue>The baseline’s value, or None when it carries none.
evidence: EvidenceWhether the data behind the baseline’s value covers its whole source.
change: Option<MetricValue>The check’s observed minus the baseline’s, in points, at the
report’s serialized precision. None when either side has no value.
Trait Implementations§
Source§impl Clone for BaselineReading
impl Clone for BaselineReading
impl Copy for BaselineReading
Source§impl Debug for BaselineReading
impl Debug for BaselineReading
Source§impl PartialEq for BaselineReading
impl PartialEq for BaselineReading
Source§impl Serialize for BaselineReading
impl Serialize for BaselineReading
impl StructuralPartialEq for BaselineReading
Auto Trait Implementations§
impl Freeze for BaselineReading
impl RefUnwindSafe for BaselineReading
impl Send for BaselineReading
impl Sync for BaselineReading
impl Unpin for BaselineReading
impl UnsafeUnpin for BaselineReading
impl UnwindSafe for BaselineReading
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