pub struct AirportFree {
pub name: String,
pub iata_code: Option<String>,
pub icao_code: Option<String>,
pub lat: f64,
pub lng: f64,
pub country_code: String,
}
Fields§
§name: String
Public name. Available in the Free plan.
iata_code: Option<String>
Official IATA code. Available in the Free plan.
icao_code: Option<String>
Official ICAO code. Available in the Free plan.
lat: f64
Geo Latitude. Available in the Free plan.
lng: f64
Geo Longitude. Available in the Free plan.
country_code: String
ISO 2 country code from Countries DB. Available in the Free plan.
Trait Implementations§
Source§impl Debug for AirportFree
impl Debug for AirportFree
Source§impl<'de> Deserialize<'de> for AirportFree
impl<'de> Deserialize<'de> for AirportFree
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 Freeze for AirportFree
impl RefUnwindSafe for AirportFree
impl Send for AirportFree
impl Sync for AirportFree
impl Unpin for AirportFree
impl UnwindSafe for AirportFree
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