pub struct TestResults {
pub passed: usize,
pub failed: usize,
pub skipped: usize,
pub failures: Vec<TestFailure>,
pub framework: TestFramework,
}Expand description
Test results from running tests
Fields§
§passed: usizeNumber of tests passed
failed: usizeNumber of tests failed
skipped: usizeNumber of tests skipped
failures: Vec<TestFailure>Details of test failures
framework: TestFrameworkTest framework used
Trait Implementations§
Source§impl Clone for TestResults
impl Clone for TestResults
Source§fn clone(&self) -> TestResults
fn clone(&self) -> TestResults
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 TestResults
impl Debug for TestResults
Source§impl<'de> Deserialize<'de> for TestResults
impl<'de> Deserialize<'de> for TestResults
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 TestResults
impl RefUnwindSafe for TestResults
impl Send for TestResults
impl Sync for TestResults
impl Unpin for TestResults
impl UnwindSafe for TestResults
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