pub struct Scenario {
pub name: String,
pub slug: String,
pub description: Vec<String>,
pub span: Span,
pub given: Condition,
pub given_steps: Vec<StepText>,
pub steps: Vec<StoryStep>,
}Fields§
§name: String§slug: String§description: Vec<String>§span: Span§given: ConditionArranged on top of the Background before the first step.
given_steps: Vec<StepText>§steps: Vec<StoryStep>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Scenario
impl RefUnwindSafe for Scenario
impl Send for Scenario
impl Sync for Scenario
impl Unpin for Scenario
impl UnsafeUnpin for Scenario
impl UnwindSafe for Scenario
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