pub struct TestEventView {
pub description: String,
pub kind: String,
pub passed: bool,
pub skipped: bool,
pub error: Option<String>,
pub duration_secs: f64,
pub stdout: String,
pub stderr: String,
}Expand description
One step/assertion within a test run.
Fields§
§description: String§kind: String"step" or "assertion".
passed: bool§skipped: bool§error: Option<String>§duration_secs: f64§stdout: String§stderr: StringTrait Implementations§
Source§impl Clone for TestEventView
impl Clone for TestEventView
Source§fn clone(&self) -> TestEventView
fn clone(&self) -> TestEventView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TestEventView
impl Debug for TestEventView
Source§impl<'de> Deserialize<'de> for TestEventView
impl<'de> Deserialize<'de> for TestEventView
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 TestEventView
impl RefUnwindSafe for TestEventView
impl Send for TestEventView
impl Sync for TestEventView
impl Unpin for TestEventView
impl UnsafeUnpin for TestEventView
impl UnwindSafe for TestEventView
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