pub enum TravelType {
Travel,
}Expand description
A type stand-in for the constant $y, deriving serde traits
Variants§
Travel
Trait Implementations§
Source§impl Clone for TravelType
impl Clone for TravelType
Source§fn clone(&self) -> TravelType
fn clone(&self) -> TravelType
Returns a duplicate 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 TravelType
impl Debug for TravelType
Source§impl Default for TravelType
impl Default for TravelType
Source§impl<'de> Deserialize<'de> for TravelType
impl<'de> Deserialize<'de> for TravelType
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 TravelType
impl Display for TravelType
Source§impl Hash for TravelType
impl Hash for TravelType
Source§impl Ord for TravelType
impl Ord for TravelType
Source§fn cmp(&self, other: &TravelType) -> Ordering
fn cmp(&self, other: &TravelType) -> 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 TravelType
impl PartialEq for TravelType
Source§impl PartialOrd for TravelType
impl PartialOrd for TravelType
Source§impl Serialize for TravelType
impl Serialize for TravelType
impl Eq for TravelType
impl StructuralPartialEq for TravelType
Auto Trait Implementations§
impl Freeze for TravelType
impl RefUnwindSafe for TravelType
impl Send for TravelType
impl Sync for TravelType
impl Unpin for TravelType
impl UnwindSafe for TravelType
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