[][src]Struct osmptparser::PublicTransport

pub struct PublicTransport {
    pub id: u64,
    pub tags: HashMap<String, String>,
    pub info: HashMap<String, String>,
    pub stops: Vec<Node>,
    pub geometry: Vec<Vec<(f64, f64)>>,
    pub parse_status: ParseStatus,
}

Public transport simple model

Fields

id: u64

osm id

tags: HashMap<String, String>

osm tags of the public transport relation

info: HashMap<String, String>

osm metadata of the public transport relation

stops: Vec<Node>

stop nodes of the public transport relation with latlng and internal tags

geometry: Vec<Vec<(f64, f64)>>

geometry (linestring/multilinestring), best effort fixed

parse_status: ParseStatus

parse status, info on workarounds applied when parsing to fix semi-broken osm routes

Trait Implementations

impl Clone for PublicTransport[src]

impl Debug for PublicTransport[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.