Struct sim::make::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
impl IndividTrip
[src]
impl IndividTrip
[src]pub fn new(
depart: Time,
purpose: TripPurpose,
origin: TripEndpoint,
destination: TripEndpoint,
mode: TripMode
) -> IndividTrip
[src]
depart: Time,
purpose: TripPurpose,
origin: TripEndpoint,
destination: TripEndpoint,
mode: TripMode
) -> IndividTrip
Trait Implementations
impl Clone for IndividTrip
[src]
impl Clone for IndividTrip
[src]fn clone(&self) -> IndividTrip
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for IndividTrip
[src]
impl<'de> Deserialize<'de> for IndividTrip
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for IndividTrip
[src]
impl Serialize for IndividTrip
[src]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
impl<T> Downcast for T where
T: Any,
impl<T> Downcast for T where
T: Any,
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,