pub struct SuiteEvent {
pub event: String,
pub test_count: Option<usize>,
pub passed: Option<usize>,
pub failed: Option<usize>,
pub ignored: Option<usize>,
pub exec_time: Option<f64>,
}Expand description
Suite-level event
Fields§
§event: StringEvent type: “started” or “ok”/“failed”
test_count: Option<usize>Number of tests (only in “started” event)
passed: Option<usize>Number of passed tests (in final event)
failed: Option<usize>Number of failed tests (in final event)
ignored: Option<usize>Number of ignored tests (in final event)
exec_time: Option<f64>Execution time (in final event)
Trait Implementations§
Source§impl Clone for SuiteEvent
impl Clone for SuiteEvent
Source§fn clone(&self) -> SuiteEvent
fn clone(&self) -> SuiteEvent
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 SuiteEvent
impl Debug for SuiteEvent
Source§impl<'de> Deserialize<'de> for SuiteEvent
impl<'de> Deserialize<'de> for SuiteEvent
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 SuiteEvent
impl RefUnwindSafe for SuiteEvent
impl Send for SuiteEvent
impl Sync for SuiteEvent
impl Unpin for SuiteEvent
impl UnwindSafe for SuiteEvent
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