Struct gherkin_rust::Scenario[][src]

pub struct Scenario {
    pub name: String,
    pub steps: Vec<Step>,
    pub examples: Option<Examples>,
    pub tags: Option<Vec<String>>,
    pub position: (usize, usize),
}

A scenario

Fields

The name of the scenario.

The parsed steps from the scenario directive.

The tags for the scenarios directive if provided.

The (line, col) position the scenario directive was found in the .feature file.

Trait Implementations

impl Debug for Scenario
[src]

Formats the value using the given formatter. Read more

impl Clone for Scenario
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Scenario
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for Scenario
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Eq for Scenario
[src]

impl<'a> From<Pair<'a, Rule>> for Scenario
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for Scenario

impl Sync for Scenario