pub struct TestCounts {
pub total: usize,
pub passed: usize,
pub failed: usize,
pub skipped: usize,
pub duration_ms: Option<u128>,
}Expand description
Summary counts for a test report.
Fields§
§total: usizeTotal test cases.
passed: usizePassed count.
failed: usizeFailed count.
skipped: usizeSkipped count.
duration_ms: Option<u128>Total duration (ms) if available.
Trait Implementations§
Source§impl Clone for TestCounts
impl Clone for TestCounts
Source§fn clone(&self) -> TestCounts
fn clone(&self) -> TestCounts
Returns a duplicate of the value. Read more
1.0.0 · 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 TestCounts
impl Debug for TestCounts
Source§impl Default for TestCounts
impl Default for TestCounts
Source§fn default() -> TestCounts
fn default() -> TestCounts
Returns the “default value” for a type. Read more
Source§impl PartialEq for TestCounts
impl PartialEq for TestCounts
impl Copy for TestCounts
impl Eq for TestCounts
impl StructuralPartialEq for TestCounts
Auto Trait Implementations§
impl Freeze for TestCounts
impl RefUnwindSafe for TestCounts
impl Send for TestCounts
impl Sync for TestCounts
impl Unpin for TestCounts
impl UnwindSafe for TestCounts
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