pub struct ScenarioResult {
pub name: String,
pub steps: Vec<(String, StepResult)>,
pub duration: Duration,
}Fields§
§name: String§steps: Vec<(String, StepResult)>§duration: DurationImplementations§
Source§impl ScenarioResult
impl ScenarioResult
pub fn passed(&self) -> bool
pub fn steps_passed(&self) -> usize
pub fn steps_failed(&self) -> usize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScenarioResult
impl RefUnwindSafe for ScenarioResult
impl Send for ScenarioResult
impl Sync for ScenarioResult
impl Unpin for ScenarioResult
impl UnwindSafe for ScenarioResult
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