Enum gtfs_structures::TransferType
source · pub enum TransferType {
Recommended,
Timed,
MinTime,
Impossible,
}Expand description
Defines the type of a [StopTransfer]
Variants§
Recommended
Recommended transfer point between routes
Timed
Departing vehicle waits for arriving one
MinTime
Transfer requires a minimum amount of time between arrival and departure to ensure a connection.
Impossible
Transfer is not possible at this location
Trait Implementations§
source§impl Clone for TransferType
impl Clone for TransferType
source§fn clone(&self) -> TransferType
fn clone(&self) -> TransferType
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 TransferType
impl Debug for TransferType
source§impl Default for TransferType
impl Default for TransferType
source§impl<'de> Deserialize<'de> for TransferType
impl<'de> Deserialize<'de> for TransferType
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 PartialEq<TransferType> for TransferType
impl PartialEq<TransferType> for TransferType
source§fn eq(&self, other: &TransferType) -> bool
fn eq(&self, other: &TransferType) -> bool
source§impl Serialize for TransferType
impl Serialize for TransferType
impl Copy for TransferType
impl Eq for TransferType
impl StructuralEq for TransferType
impl StructuralPartialEq for TransferType
Auto Trait Implementations§
impl RefUnwindSafe for TransferType
impl Send for TransferType
impl Sync for TransferType
impl Unpin for TransferType
impl UnwindSafe for TransferType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.