[][src]Struct transit_model::objects::Route

pub struct Route {
    pub id: String,
    pub name: String,
    pub direction_type: Option<String>,
    pub codes: KeysValues,
    pub object_properties: KeysValues,
    pub comment_links: CommentLinksT,
    pub line_id: String,
    pub geometry_id: Option<String>,
    pub destination_id: Option<String>,
}

Fields

id: Stringname: Stringdirection_type: Option<String>codes: KeysValuesobject_properties: KeysValuescomment_links: CommentLinksTline_id: Stringgeometry_id: Option<String>destination_id: Option<String>

Trait Implementations

impl Id<Route> for Route[src]

impl Id<Line> for Route[src]

impl Id<Route> for VehicleJourney[src]

impl AddPrefix for Route[src]

impl GetObjectType for Route[src]

impl Codes for Route[src]

impl Properties for Route[src]

impl WithId for Route[src]

impl GetCorresponding<Route> for IdxSet<CommercialMode>[src]

impl GetCorresponding<Route> for IdxSet<Network>[src]

impl GetCorresponding<Route> for IdxSet<Route>[src]

impl GetCorresponding<Route> for IdxSet<PhysicalMode>[src]

impl GetCorresponding<Route> for IdxSet<Line>[src]

impl GetCorresponding<Route> for IdxSet<Company>[src]

impl GetCorresponding<Route> for IdxSet<Transfer>[src]

impl GetCorresponding<Route> for IdxSet<VehicleJourney>[src]

impl GetCorresponding<Route> for IdxSet<Contributor>[src]

impl GetCorresponding<Route> for IdxSet<Dataset>[src]

impl GetCorresponding<Route> for IdxSet<StopArea>[src]

impl GetCorresponding<Route> for IdxSet<StopPoint>[src]

impl PartialEq<Route> for Route[src]

impl Clone for Route[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Route[src]

impl Debug for Route[src]

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

impl Serialize for Route[src]

Auto Trait Implementations

impl Send for Route

impl Sync for Route

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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