pub struct AirportCode(/* private fields */);Expand description
3 letter airport code
Implementations§
Trait Implementations§
Source§impl Clone for AirportCode
impl Clone for AirportCode
Source§fn clone(&self) -> AirportCode
fn clone(&self) -> AirportCode
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 AirportCode
impl Debug for AirportCode
Source§impl<'de> Deserialize<'de> for AirportCode
impl<'de> Deserialize<'de> for AirportCode
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 AirportCode
impl Display for AirportCode
Source§impl FromStr for AirportCode
impl FromStr for AirportCode
Source§impl Hash for AirportCode
impl Hash for AirportCode
Source§impl Ord for AirportCode
impl Ord for AirportCode
Source§fn cmp(&self, other: &AirportCode) -> Ordering
fn cmp(&self, other: &AirportCode) -> 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 AirportCode
impl PartialEq for AirportCode
Source§impl PartialOrd for AirportCode
impl PartialOrd for AirportCode
Source§impl Serialize for AirportCode
impl Serialize for AirportCode
impl Copy for AirportCode
impl Eq for AirportCode
impl StructuralPartialEq for AirportCode
Auto Trait Implementations§
impl Freeze for AirportCode
impl RefUnwindSafe for AirportCode
impl Send for AirportCode
impl Sync for AirportCode
impl Unpin for AirportCode
impl UnwindSafe for AirportCode
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