pub struct TestReport {
pub test_id: String,
pub test_name: Option<String>,
pub tags: Vec<String>,
pub passed: bool,
pub attempts: usize,
pub assertion_results: Vec<AssertionResult>,
pub duration: Duration,
pub error: Option<String>,
}Expand description
Result of a single test case.
Fields§
§test_id: String§test_name: Option<String>§passed: bool§attempts: usize§assertion_results: Vec<AssertionResult>§duration: Duration§error: Option<String>Trait Implementations§
Source§impl Clone for TestReport
impl Clone for TestReport
Source§fn clone(&self) -> TestReport
fn clone(&self) -> TestReport
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 TestReport
impl Debug for TestReport
Source§impl<'de> Deserialize<'de> for TestReport
impl<'de> Deserialize<'de> for TestReport
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 TestReport
impl RefUnwindSafe for TestReport
impl Send for TestReport
impl Sync for TestReport
impl Unpin for TestReport
impl UnsafeUnpin for TestReport
impl UnwindSafe for TestReport
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