pub struct TestCaseResult {
pub name: String,
pub status: TestStatus,
pub duration_ms: Option<u128>,
pub details: Option<String>,
}Expand description
A single test case result.
Fields§
§name: StringTest name.
status: TestStatusTest status.
duration_ms: Option<u128>Duration in milliseconds.
details: Option<String>Optional details (diff, error message, etc.).
Implementations§
Trait Implementations§
Source§impl Clone for TestCaseResult
impl Clone for TestCaseResult
Source§fn clone(&self) -> TestCaseResult
fn clone(&self) -> TestCaseResult
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 moreAuto Trait Implementations§
impl Freeze for TestCaseResult
impl RefUnwindSafe for TestCaseResult
impl Send for TestCaseResult
impl Sync for TestCaseResult
impl Unpin for TestCaseResult
impl UnsafeUnpin for TestCaseResult
impl UnwindSafe for TestCaseResult
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