pub struct StepObservation {
pub example_index: usize,
pub ordinal: usize,
pub outcome: StepOutcome,
pub error: Option<StepFailure>,
}Expand description
One executed step’s outcome. example_index is 0-based; ordinal is 1-based.
Fields§
§example_index: usize§ordinal: usize§outcome: StepOutcome§error: Option<StepFailure>Trait Implementations§
Source§impl Clone for StepObservation
impl Clone for StepObservation
Source§fn clone(&self) -> StepObservation
fn clone(&self) -> StepObservation
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 StepObservation
impl Debug for StepObservation
Source§impl PartialEq for StepObservation
impl PartialEq for StepObservation
impl StructuralPartialEq for StepObservation
Auto Trait Implementations§
impl Freeze for StepObservation
impl RefUnwindSafe for StepObservation
impl Send for StepObservation
impl Sync for StepObservation
impl Unpin for StepObservation
impl UnsafeUnpin for StepObservation
impl UnwindSafe for StepObservation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more