Enum gtfs_structures::PathwayMode
source · pub enum PathwayMode {
Walkway,
Stairs,
MovingSidewalk,
Escalator,
Elevator,
FareGate,
ExitGate,
}
Expand description
Type of pathway between [from_stop] and [to_stop]
Variants§
Walkway
A walkway
Stairs
Stairs
MovingSidewalk
Moving sidewalk / travelator
Escalator
Escalator
Elevator
Elevator
FareGate
A pathway that crosses into an area of the station where a proof of payment is required (usually via a physical payment gate)
ExitGate
Indicates a pathway exiting an area where proof-of-payment is required into an area where proof-of-payment is no longer required.
Trait Implementations§
source§impl Clone for PathwayMode
impl Clone for PathwayMode
source§fn clone(&self) -> PathwayMode
fn clone(&self) -> PathwayMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PathwayMode
impl Debug for PathwayMode
source§impl Default for PathwayMode
impl Default for PathwayMode
source§impl<'de> Deserialize<'de> for PathwayMode
impl<'de> Deserialize<'de> for PathwayMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for PathwayMode
impl Hash for PathwayMode
source§impl PartialEq for PathwayMode
impl PartialEq for PathwayMode
source§fn eq(&self, other: &PathwayMode) -> bool
fn eq(&self, other: &PathwayMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PathwayMode
impl Serialize for PathwayMode
impl Copy for PathwayMode
impl Eq for PathwayMode
impl StructuralPartialEq for PathwayMode
Auto Trait Implementations§
impl Freeze for PathwayMode
impl RefUnwindSafe for PathwayMode
impl Send for PathwayMode
impl Sync for PathwayMode
impl Unpin for PathwayMode
impl UnwindSafe for PathwayMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.