[][src]Struct map_model::BusRoute

pub struct BusRoute {
    pub id: BusRouteID,
    pub full_name: String,
    pub short_name: String,
    pub gtfs_trip_marker: Option<String>,
    pub osm_rel_id: RelationID,
    pub stops: Vec<BusStopID>,
    pub start: LaneID,
    pub end_border: Option<LaneID>,
    pub route_type: PathConstraints,
    pub spawn_times: Vec<Time>,
    pub orig_spawn_times: Vec<Time>,
}

Fields

id: BusRouteIDfull_name: Stringshort_name: Stringgtfs_trip_marker: Option<String>osm_rel_id: RelationIDstops: Vec<BusStopID>start: LaneIDend_border: Option<LaneID>route_type: PathConstraintsspawn_times: Vec<Time>orig_spawn_times: Vec<Time>

Implementations

impl BusRoute[src]

pub fn all_steps(&self, map: &Map) -> Vec<PathRequest>[src]

pub fn plural_noun(&self) -> &'static str[src]

Trait Implementations

impl Debug for BusRoute[src]

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

impl Serialize for BusRoute[src]

Auto Trait Implementations

impl RefUnwindSafe for BusRoute

impl Send for BusRoute

impl Sync for BusRoute

impl Unpin for BusRoute

impl UnwindSafe for BusRoute

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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<V, T> VZip<V> for T where
    V: MultiLane<T>,