[][src]Struct gtfs_structures::StopTime

pub struct StopTime {
    pub arrival_time: Option<u32>,
    pub stop: Arc<Stop>,
    pub departure_time: Option<u32>,
    pub pickup_type: Option<PickupDropOffType>,
    pub drop_off_type: Option<PickupDropOffType>,
    pub stop_sequence: u16,
}

Fields

arrival_time: Option<u32>stop: Arc<Stop>departure_time: Option<u32>pickup_type: Option<PickupDropOffType>drop_off_type: Option<PickupDropOffType>stop_sequence: u16

Methods

impl StopTime[src]

pub fn from(stop_time_gtfs: &RawStopTime, stop: Arc<Stop>) -> Self[src]

Trait Implementations

impl Debug for StopTime[src]

impl Default for StopTime[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.