pub struct TestRunView {
pub name: String,
pub passed: bool,
pub duration_secs: f64,
pub outcome: String,
pub events: Vec<TestEventView>,
}Expand description
The outcome of running one test (ryra test <name>).
Fields§
§name: String§passed: bool§duration_secs: f64§outcome: String"passed" / "skipped" / a failure message.
events: Vec<TestEventView>Trait Implementations§
Source§impl Clone for TestRunView
impl Clone for TestRunView
Source§fn clone(&self) -> TestRunView
fn clone(&self) -> TestRunView
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 TestRunView
impl Debug for TestRunView
Source§impl<'de> Deserialize<'de> for TestRunView
impl<'de> Deserialize<'de> for TestRunView
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 TestRunView
impl RefUnwindSafe for TestRunView
impl Send for TestRunView
impl Sync for TestRunView
impl Unpin for TestRunView
impl UnsafeUnpin for TestRunView
impl UnwindSafe for TestRunView
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