pub enum TransportType {
Bus,
RegionalRail,
Nhsl,
Subway,
Trolley,
}
Variants§
Trait Implementations§
Source§impl Clone for TransportType
impl Clone for TransportType
Source§fn clone(&self) -> TransportType
fn clone(&self) -> TransportType
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 TransportType
impl Debug for TransportType
Source§impl<'de> Deserialize<'de> for TransportType
impl<'de> Deserialize<'de> for TransportType
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 Display for TransportType
impl Display for TransportType
Source§impl FromStr for TransportType
impl FromStr for TransportType
Source§impl Hash for TransportType
impl Hash for TransportType
Source§impl IntoEnumIterator for TransportType
impl IntoEnumIterator for TransportType
type Iterator = TransportTypeIter
fn iter() -> TransportTypeIter ⓘ
Source§impl Ord for TransportType
impl Ord for TransportType
Source§fn cmp(&self, other: &TransportType) -> Ordering
fn cmp(&self, other: &TransportType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TransportType
impl PartialEq for TransportType
Source§impl PartialOrd for TransportType
impl PartialOrd for TransportType
Source§impl TryFrom<&str> for TransportType
impl TryFrom<&str> for TransportType
impl Eq for TransportType
impl StructuralPartialEq for TransportType
Auto Trait Implementations§
impl Freeze for TransportType
impl RefUnwindSafe for TransportType
impl Send for TransportType
impl Sync for TransportType
impl Unpin for TransportType
impl UnwindSafe for TransportType
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.