pub enum CaseSummary {
Gap {
case: String,
metrics: usize,
refusal: String,
},
Predicted {
case: String,
metrics: usize,
within_target: usize,
largest: Option<(String, f64)>,
},
Scored {
case: String,
metrics: usize,
worst_scored: f64,
not_scored: Vec<String>,
failed: usize,
},
}Expand description
How one case came out.
Variants§
Gap
A known gap: hpr refuses the flight, so nothing is compared.
Fields
Predicted
Predicted mode: every metric reported against a target, none gating.
Fields
Scored
Every metric held to its tolerance.
Implementations§
Trait Implementations§
Source§impl Clone for CaseSummary
impl Clone for CaseSummary
Source§fn clone(&self) -> CaseSummary
fn clone(&self) -> CaseSummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CaseSummary
impl Debug for CaseSummary
Source§impl<'de> Deserialize<'de> for CaseSummary
impl<'de> Deserialize<'de> for CaseSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CaseSummary
impl Display for CaseSummary
Source§impl PartialEq for CaseSummary
impl PartialEq for CaseSummary
Source§fn eq(&self, other: &CaseSummary) -> bool
fn eq(&self, other: &CaseSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CaseSummary
impl Serialize for CaseSummary
impl StructuralPartialEq for CaseSummary
Auto Trait Implementations§
impl Freeze for CaseSummary
impl RefUnwindSafe for CaseSummary
impl Send for CaseSummary
impl Sync for CaseSummary
impl Unpin for CaseSummary
impl UnsafeUnpin for CaseSummary
impl UnwindSafe for CaseSummary
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