[][src]Struct townhopper::gtfs::Trip

pub struct Trip {
    pub route_id: String,
    pub service_id: String,
    pub trip_id: String,
    pub trip_headsign: Option<String>,
    pub trip_short_name: Option<String>,
    pub direction_id: Option<i32>,
    pub block_id: Option<String>,
    pub shape_id: Option<String>,
    pub wheelchair_accessible: Option<i32>,
    pub bikes_allowed: Option<i32>,
}

Fields

route_id: Stringservice_id: Stringtrip_id: Stringtrip_headsign: Option<String>trip_short_name: Option<String>direction_id: Option<i32>block_id: Option<String>shape_id: Option<String>wheelchair_accessible: Option<i32>bikes_allowed: Option<i32>

Methods

impl Trip[src]

pub fn from_csv(path: &Path) -> ThprResult<Vec<Trip>>[src]

Trait Implementations

impl<'de> Deserialize<'de> for Trip[src]

Auto Trait Implementations

impl Send for Trip

impl Unpin for Trip

impl Sync for Trip

impl UnwindSafe for Trip

impl RefUnwindSafe for Trip

Blanket Implementations

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

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

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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]