pub struct TestResult {
pub test_name: &'static str,
pub test_result: TestStatus,
}Expand description
A test result item that contains the name of the test and a result value. The value can either be a success or a failure. If a failure, there will be an underlying message as well to explain the context of the failure.
Fields§
§test_name: &'static str§test_result: TestStatusTrait Implementations§
Auto Trait Implementations§
impl Freeze for TestResult
impl !RefUnwindSafe for TestResult
impl Send for TestResult
impl Sync for TestResult
impl Unpin for TestResult
impl !UnwindSafe for TestResult
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