pub struct TestSessionResult {
pub passed_count: usize,
pub failed_count: usize,
pub failures: Vec<Assertion<()>>,
}
Expand description
Represents the complete result of a test session
Fields§
§passed_count: usize
Number of passed tests
failed_count: usize
Number of failed tests
failures: Vec<Assertion<()>>
Detailed results of failed assertions
Trait Implementations§
Source§impl Debug for TestSessionResult
impl Debug for TestSessionResult
Source§impl Default for TestSessionResult
impl Default for TestSessionResult
Source§fn default() -> TestSessionResult
fn default() -> TestSessionResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TestSessionResult
impl RefUnwindSafe for TestSessionResult
impl Send for TestSessionResult
impl Sync for TestSessionResult
impl Unpin for TestSessionResult
impl UnwindSafe for TestSessionResult
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