pub struct SuiteStats {
pub total: usize,
pub passed: usize,
pub failed: usize,
pub avg_score: f64,
pub weighted_avg_score: f64,
pub pass_rate: f64,
pub duration_ms: u64,
}Expand description
Statistics for a suite run.
Fields§
§total: usizeTotal number of test cases.
passed: usizeNumber of passed tests.
failed: usizeNumber of failed tests.
avg_score: f64Average score.
weighted_avg_score: f64Weighted average score.
pass_rate: f64Pass rate (0.0 to 1.0).
duration_ms: u64Total run time.
Trait Implementations§
Source§impl Clone for SuiteStats
impl Clone for SuiteStats
Source§fn clone(&self) -> SuiteStats
fn clone(&self) -> SuiteStats
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 SuiteStats
impl Debug for SuiteStats
Source§impl Default for SuiteStats
impl Default for SuiteStats
Source§impl<'de> Deserialize<'de> for SuiteStats
impl<'de> Deserialize<'de> for SuiteStats
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
Auto Trait Implementations§
impl Freeze for SuiteStats
impl RefUnwindSafe for SuiteStats
impl Send for SuiteStats
impl Sync for SuiteStats
impl Unpin for SuiteStats
impl UnsafeUnpin for SuiteStats
impl UnwindSafe for SuiteStats
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