pub struct TestResult {
pub module: Option<String>,
pub name: String,
pub status: Status,
}Expand description
The (prettified) name and pass/fail status of a given test.
Fields§
§module: Option<String>§name: String§status: StatusTrait Implementations§
Source§impl Debug for TestResult
impl Debug for TestResult
Source§impl Display for TestResult
impl Display for TestResult
impl Eq for TestResult
Source§impl Ord for TestResult
impl Ord for TestResult
Source§fn cmp(&self, other: &TestResult) -> Ordering
fn cmp(&self, other: &TestResult) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TestResult
impl PartialEq for TestResult
Source§fn eq(&self, other: &TestResult) -> bool
fn eq(&self, other: &TestResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TestResult
impl PartialOrd for TestResult
impl StructuralPartialEq for TestResult
Auto Trait Implementations§
impl Freeze for TestResult
impl RefUnwindSafe for TestResult
impl Send for TestResult
impl Sync for TestResult
impl Unpin for TestResult
impl UnsafeUnpin 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