#[non_exhaustive]pub struct CaseRunSummary {
pub eval_id: String,
pub runs: usize,
pub passed_runs: usize,
pub pass_rate: f64,
pub flaky: bool,
pub passed: bool,
pub scores: BTreeMap<String, ScoreStats>,
pub failed_criteria: BTreeMap<String, usize>,
}Expand description
One case across every completed run.
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.eval_id: StringThe case’s eval_id.
runs: usizeRuns in which the case ran.
passed_runs: usizeRuns in which the case passed.
pass_rate: f64passed_runs / runs.
flaky: booltrue when the case passed in some runs and failed in others.
passed: booltrue when the pass rate reached the report’s minimum.
scores: BTreeMap<String, ScoreStats>Statistics of each criterion’s score, by criterion name.
failed_criteria: BTreeMap<String, usize>Runs in which each criterion failed, by criterion name.
Trait Implementations§
Source§impl Clone for CaseRunSummary
impl Clone for CaseRunSummary
Source§impl Debug for CaseRunSummary
impl Debug for CaseRunSummary
Source§impl<'de> Deserialize<'de> for CaseRunSummary
impl<'de> Deserialize<'de> for CaseRunSummary
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 PartialEq for CaseRunSummary
impl PartialEq for CaseRunSummary
Source§impl Serialize for CaseRunSummary
impl Serialize for CaseRunSummary
impl StructuralPartialEq for CaseRunSummary
Auto Trait Implementations§
impl Forget for CaseRunSummary
impl Freeze for CaseRunSummarywhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, ScoreStats> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, ScoreStats)>>: Freeze,
*const LeafNode<String, usize> is !null: Freeze,
PhantomData<Box<(String, usize)>>: Freeze,
impl Move for CaseRunSummary
impl RefUnwindSafe for CaseRunSummary
impl Send for CaseRunSummary
impl Sync for CaseRunSummary
impl Unpin for CaseRunSummary
impl UnsafeUnpin for CaseRunSummarywhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, ScoreStats> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, ScoreStats)>>: UnsafeUnpin,
*const LeafNode<String, usize> is !null: UnsafeUnpin,
PhantomData<Box<(String, usize)>>: UnsafeUnpin,
impl UnwindSafe for CaseRunSummarywhere
RawVecInner: UnwindSafe,
BTreeMap<String, ScoreStats>: UnwindSafe,
BTreeMap<String, usize>: UnwindSafe,
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