Struct subplot::Scenario [−][src]
pub struct Scenario { /* fields omitted */ }
Expand description
An acceptance test scenario.
A scenario consists of a title, by which it can be identified, and a sequence of steps. The Scenario struct assumes the steps are valid and make sense; the struct does not try to validate the sequence.
Implementations
Construct a new scenario.
The new scenario will have a title, but no steps.
Return slice with all the steps.
Add a step to a scenario.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Scenario
impl UnwindSafe for Scenario
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more