Struct synthpop::scenario::Scenario [−][src]
pub struct Scenario {
pub scenario_name: String,
pub map_name: MapName,
pub people: Vec<PersonSpec>,
pub only_seed_buses: Option<BTreeSet<String>>,
}
Expand description
A Scenario describes all the input to a simulation. Usually a scenario covers one day.
Fields
scenario_name: String
map_name: MapName
people: Vec<PersonSpec>
only_seed_buses: Option<BTreeSet<String>>
None means seed all buses. Otherwise the route name must be present here.
Implementations
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self