[][src]Struct gtfs_structures::Route

pub struct Route {
    pub id: String,
    pub short_name: String,
    pub long_name: String,
    pub route_type: RouteType,
    pub agency_id: Option<String>,
    pub route_order: Option<u32>,
    pub route_color: Option<RGB8>,
    pub route_text_color: Option<RGB8>,
}

Fields

id: Stringshort_name: Stringlong_name: Stringroute_type: RouteTypeagency_id: Option<String>route_order: Option<u32>route_color: Option<RGB8>route_text_color: Option<RGB8>

Trait Implementations

impl Debug for Route[src]

impl Default for Route[src]

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

impl Display for Route[src]

impl Id for Route[src]

impl Serialize for Route[src]

impl Type for Route[src]

Auto Trait Implementations

impl RefUnwindSafe for Route

impl Send for Route

impl Sync for Route

impl Unpin for Route

impl UnwindSafe for Route

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> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[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.