Struct sim::trips::Trip [−][src]
struct Trip { id: TripID, info: TripInfo, started: bool, finished_at: Option<Time>, total_blocked_time: Duration, total_distance: Distance, legs: VecDeque<TripLeg>, person: PersonID, }
Fields
id: TripID
info: TripInfo
started: bool
finished_at: Option<Time>
total_blocked_time: Duration
total_distance: Distance
legs: VecDeque<TripLeg>
person: PersonID
Implementations
impl Trip
[src]
impl Trip
[src]fn assert_walking_leg(&mut self, goal: SidewalkSpot)
[src]
Trait Implementations
impl<'de> Deserialize<'de> for Trip
[src]
impl<'de> Deserialize<'de> for Trip
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Trip
impl Send for Trip
impl Sync for Trip
impl Unpin for Trip
impl UnwindSafe for Trip
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>,