pub struct TestRecord {
pub name: String,
pub status: String,
pub duration_ms: u64,
pub error: Option<String>,
}Expand description
A single test case record.
Fields§
§name: StringFull test name (suite::test)
status: StringTest status
duration_ms: u64Duration in milliseconds
error: Option<String>Error message if failed
Trait Implementations§
Source§impl Clone for TestRecord
impl Clone for TestRecord
Source§fn clone(&self) -> TestRecord
fn clone(&self) -> TestRecord
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 TestRecord
impl Debug for TestRecord
Source§impl<'de> Deserialize<'de> for TestRecord
impl<'de> Deserialize<'de> for TestRecord
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 TestRecord
impl RefUnwindSafe for TestRecord
impl Send for TestRecord
impl Sync for TestRecord
impl Unpin for TestRecord
impl UnsafeUnpin for TestRecord
impl UnwindSafe for TestRecord
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