pub struct PlannedExample {
pub name: String,
pub scope_stack: Vec<String>,
pub span: Span,
pub steps: Vec<PlannedStep>,
pub header_binding: Option<HeaderBinding>,
pub row_checks: Option<Vec<RowCheck>>,
pub expected_outcome: Option<String>,
pub expected_error_message: Option<String>,
}Expand description
One matched-and-runnable example.
Fields§
§name: String§scope_stack: Vec<String>§span: Span§steps: Vec<PlannedStep>§header_binding: Option<HeaderBinding>§row_checks: Option<Vec<RowCheck>>§expected_outcome: Option<String>§expected_error_message: Option<String>Auto Trait Implementations§
impl !RefUnwindSafe for PlannedExample
impl !Send for PlannedExample
impl !Sync for PlannedExample
impl !UnwindSafe for PlannedExample
impl Freeze for PlannedExample
impl Unpin for PlannedExample
impl UnsafeUnpin for PlannedExample
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> 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