Struct transit_model::objects::Pathway[][src]

pub struct Pathway {
    pub id: String,
    pub from_stop_id: String,
    pub from_stop_type: StopType,
    pub to_stop_id: String,
    pub to_stop_type: StopType,
    pub pathway_mode: PathwayMode,
    pub is_bidirectional: bool,
    pub length: Option<Decimal>,
    pub traversal_time: Option<u32>,
    pub stair_count: Option<i16>,
    pub max_slope: Option<f32>,
    pub min_width: Option<f32>,
    pub signposted_as: Option<String>,
    pub reversed_signposted_as: Option<String>,
}

Fields

id: Stringfrom_stop_id: Stringfrom_stop_type: StopTypeto_stop_id: Stringto_stop_type: StopTypepathway_mode: PathwayModeis_bidirectional: boollength: Option<Decimal>traversal_time: Option<u32>stair_count: Option<i16>max_slope: Option<f32>min_width: Option<f32>signposted_as: Option<String>reversed_signposted_as: Option<String>

Trait Implementations

impl AddPrefix for Pathway[src]

impl Clone for Pathway[src]

impl Debug for Pathway[src]

impl Default for Pathway[src]

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

impl Id<Pathway> for Pathway[src]

impl PartialEq<Pathway> for Pathway[src]

impl Serialize for Pathway[src]

impl StructuralPartialEq for Pathway[src]

Auto Trait Implementations

impl RefUnwindSafe for Pathway

impl Send for Pathway

impl Sync for Pathway

impl Unpin for Pathway

impl UnwindSafe for Pathway

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

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