Struct map_model::raw::RawBusRoute[][src]

pub struct RawBusRoute {
    pub full_name: String,
    pub short_name: String,
    pub osm_rel_id: RelationID,
    pub gtfs_trip_marker: Option<String>,
    pub is_bus: bool,
    pub stops: Vec<RawBusStop>,
    pub border_start: Option<NodeID>,
    pub border_end: Option<NodeID>,
    pub all_pts: Vec<(NodeID, Pt2D)>,
}

Fields

full_name: Stringshort_name: Stringosm_rel_id: RelationIDgtfs_trip_marker: Option<String>is_bus: bool

If not, light rail

stops: Vec<RawBusStop>border_start: Option<NodeID>border_end: Option<NodeID>all_pts: Vec<(NodeID, Pt2D)>

This is guaranteed to be in order and contiguous.

Trait Implementations

impl Debug for RawBusRoute[src]

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

impl Serialize for RawBusRoute[src]

Auto Trait Implementations

impl RefUnwindSafe for RawBusRoute

impl Send for RawBusRoute

impl Sync for RawBusRoute

impl Unpin for RawBusRoute

impl UnwindSafe for RawBusRoute

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> Instrument 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,