pub struct TestItem {
pub name: String,
pub outcome: Outcome,
pub message: Option<String>,
}Expand description
One test.
Fields§
§name: StringThe full test name.
outcome: OutcomeHow the test ended.
message: Option<String>The failure message, when there is one.
Trait Implementations§
impl Eq for TestItem
impl StructuralPartialEq for TestItem
Auto Trait Implementations§
impl Freeze for TestItem
impl RefUnwindSafe for TestItem
impl Send for TestItem
impl Sync for TestItem
impl Unpin for TestItem
impl UnsafeUnpin for TestItem
impl UnwindSafe for TestItem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.