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
impl Copy for TestCounts
Source§impl Debug for TestCounts
impl Debug for TestCounts
Source§impl Default for TestCounts
impl Default for TestCounts
impl Eq for TestCounts
Source§impl PartialEq for TestCounts
impl PartialEq for TestCounts
impl StructuralPartialEq for TestCounts
Auto Trait Implementations§
impl Forget for TestCounts
impl Freeze for TestCounts
impl Move for TestCounts
impl RefUnwindSafe for TestCounts
impl Send for TestCounts
impl Sync for TestCounts
impl Unpin for TestCounts
impl UnsafeUnpin 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