pub struct TestEvent {
pub event: String,
pub name: String,
pub exec_time: Option<f64>,
pub stdout: Option<String>,
}Expand description
Test-level event
Fields§
§event: StringEvent type: “started”, “ok”, “failed”, “ignored”
name: StringFull test name including binary
exec_time: Option<f64>Execution time in seconds (only in finished events)
stdout: Option<String>Stdout output (only in failed events)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TestEvent
impl<'de> Deserialize<'de> for TestEvent
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 TestEvent
impl RefUnwindSafe for TestEvent
impl Send for TestEvent
impl Sync for TestEvent
impl Unpin for TestEvent
impl UnwindSafe for TestEvent
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