pub struct ScenarioDef {
pub name: String,
pub tags: Vec<String>,
pub steps: Vec<StepDefn>,
pub line: usize,
}Expand description
One concrete (post-expansion) scenario.
Fields§
§name: StringScenario name (outline placeholders substituted; #N suffix added only
when expansion would produce duplicate names).
Accumulated tags: feature + rule + scenario + examples (without @).
steps: Vec<StepDefn>Steps, Background-first, in authored order.
line: usize1-based line of the scenario header (display).
Trait Implementations§
Source§impl Clone for ScenarioDef
impl Clone for ScenarioDef
Source§fn clone(&self) -> ScenarioDef
fn clone(&self) -> ScenarioDef
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 moreAuto Trait Implementations§
impl Freeze for ScenarioDef
impl RefUnwindSafe for ScenarioDef
impl Send for ScenarioDef
impl Sync for ScenarioDef
impl Unpin for ScenarioDef
impl UnsafeUnpin for ScenarioDef
impl UnwindSafe for ScenarioDef
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