pub enum BaseChoices {
Iata,
Iso3166,
UnLocode,
Empty,
Null,
}Expand description
Base set of predefined choices (optional) * IATA - IATA (Airport codes) * ISO_3166 - ISO 3166 (Country codes) * UN_LOCODE - UN/LOCODE (Location codes)
Variants§
Trait Implementations§
Source§impl Clone for BaseChoices
impl Clone for BaseChoices
Source§fn clone(&self) -> BaseChoices
fn clone(&self) -> BaseChoices
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 BaseChoices
impl Debug for BaseChoices
Source§impl Default for BaseChoices
impl Default for BaseChoices
Source§fn default() -> BaseChoices
fn default() -> BaseChoices
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BaseChoices
impl<'de> Deserialize<'de> for BaseChoices
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 BaseChoices
impl Hash for BaseChoices
Source§impl Ord for BaseChoices
impl Ord for BaseChoices
Source§fn cmp(&self, other: &BaseChoices) -> Ordering
fn cmp(&self, other: &BaseChoices) -> 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 BaseChoices
impl PartialEq for BaseChoices
Source§impl PartialOrd for BaseChoices
impl PartialOrd for BaseChoices
Source§impl Serialize for BaseChoices
impl Serialize for BaseChoices
impl Copy for BaseChoices
impl Eq for BaseChoices
impl StructuralPartialEq for BaseChoices
Auto Trait Implementations§
impl Freeze for BaseChoices
impl RefUnwindSafe for BaseChoices
impl Send for BaseChoices
impl Sync for BaseChoices
impl Unpin for BaseChoices
impl UnwindSafe for BaseChoices
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