pub struct Airport {
pub code: String,
pub name: String,
pub city: String,
pub country: String,
pub coordinates: Coordinates,
pub distance: f64,
pub large: bool,
}Fields§
§code: String§name: String§city: String§country: String§coordinates: Coordinates§distance: f64Meters from the point searched.
large: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Airport
impl<'de> Deserialize<'de> for Airport
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
Auto Trait Implementations§
impl Forget for Airport
impl Freeze for Airport
impl Move for Airport
impl RefUnwindSafe for Airport
impl Send for Airport
impl Sync for Airport
impl Unpin for Airport
impl UnsafeUnpin for Airport
impl UnwindSafe for Airport
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