pub struct ExampleResult {
pub name: String,
pub status: Status,
pub lines: Vec<usize>,
pub failure: Option<ExampleFailure>,
}Expand description
The run result for one BDD example.
Fields§
§name: String§status: Status§lines: Vec<usize>§failure: Option<ExampleFailure>Trait Implementations§
Source§impl Clone for ExampleResult
impl Clone for ExampleResult
Source§fn clone(&self) -> ExampleResult
fn clone(&self) -> ExampleResult
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 ExampleResult
impl Debug for ExampleResult
impl Eq for ExampleResult
Source§impl PartialEq for ExampleResult
impl PartialEq for ExampleResult
impl StructuralPartialEq for ExampleResult
Auto Trait Implementations§
impl Freeze for ExampleResult
impl RefUnwindSafe for ExampleResult
impl Send for ExampleResult
impl Sync for ExampleResult
impl Unpin for ExampleResult
impl UnsafeUnpin for ExampleResult
impl UnwindSafe for ExampleResult
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