Struct synthpop::scenario::IndividTrip [−][src]
pub struct IndividTrip {
pub depart: Time,
pub origin: TripEndpoint,
pub destination: TripEndpoint,
pub mode: TripMode,
pub purpose: TripPurpose,
pub cancelled: bool,
pub modified: bool,
}
Fields
depart: Time
origin: TripEndpoint
destination: TripEndpoint
mode: TripMode
purpose: TripPurpose
cancelled: bool
modified: bool
Did a ScenarioModifier affect this?
Implementations
pub fn new(
depart: Time,
purpose: TripPurpose,
origin: TripEndpoint,
destination: TripEndpoint,
mode: TripMode
) -> IndividTrip
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 IndividTrip
impl Send for IndividTrip
impl Sync for IndividTrip
impl Unpin for IndividTrip
impl UnwindSafe for IndividTrip
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