Struct sim::TripInfo [−][src]
pub struct TripInfo { pub departure: Time, pub mode: TripMode, pub start: TripEndpoint, pub end: TripEndpoint, pub purpose: TripPurpose, pub modified: bool, pub capped: bool, pub cancellation_reason: Option<String>, }
Fields
departure: Time
Scheduled departure; the start may be delayed if the previous trip is taking too long.
mode: TripMode
start: TripEndpoint
end: TripEndpoint
purpose: TripPurpose
modified: bool
Did a ScenarioModifier apply to this?
capped: bool
Was this trip affected by a congestion cap?
cancellation_reason: Option<String>
Trait Implementations
impl<'de> Deserialize<'de> for TripInfo
[src]
impl<'de> Deserialize<'de> for TripInfo
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for TripInfo
impl Send for TripInfo
impl Sync for TripInfo
impl Unpin for TripInfo
impl UnwindSafe for TripInfo
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>,