[][src]Struct townhopper::gtfs::Stop

pub struct Stop {
    pub stop_id: String,
    pub stop_code: Option<String>,
    pub stop_name: String,
    pub stop_desc: Option<String>,
    pub stop_lat: String,
    pub stop_lon: String,
    pub zone_id: Option<String>,
    pub stop_url: Option<String>,
    pub location_type: Option<i32>,
    pub parent_station: Option<String>,
    pub stop_timezone: Option<Tz>,
    pub wheelchair_boarding: Option<i32>,
}

Fields

stop_id: Stringstop_code: Option<String>stop_name: Stringstop_desc: Option<String>stop_lat: Stringstop_lon: Stringzone_id: Option<String>stop_url: Option<String>location_type: Option<i32>parent_station: Option<String>stop_timezone: Option<Tz>wheelchair_boarding: Option<i32>

Methods

impl Stop[src]

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

Trait Implementations

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

Auto Trait Implementations

impl Send for Stop

impl Unpin for Stop

impl Sync for Stop

impl UnwindSafe for Stop

impl RefUnwindSafe for Stop

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]