pub struct Airport {Show 23 fields
pub name: String,
pub iata_code: Option<String>,
pub icao_code: Option<String>,
pub lat: f64,
pub lng: f64,
pub alt: u64,
pub city: String,
pub city_code: String,
pub un_locode: String,
pub timezone: String,
pub country_code: String,
pub names: BTreeMap<String, String>,
pub runways: u64,
pub departures: u64,
pub connections: u64,
pub is_major: bool,
pub is_international: u64,
pub website: String,
pub facebook: String,
pub twitter: String,
pub instagram: String,
pub linkedin: String,
pub slug: 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.
alt: u64
Airport Runway Elevation (feet)
city: String
Airport metropolitan city name from Cities DB.
city_code: String
Airport metropolitan 3 letter city code from Cities DB.
un_locode: String
United Nations location code.
timezone: String
Airport location timezone.
country_code: String
ISO 2 country code from Countries DB. Available in the Free plan.
names: BTreeMap<String, String>
Alternative names in different languages.
runways: u64
Total airport runways.
departures: u64
Total departures from airport per year.
connections: u64
Total connections with another airports.
is_major: bool
The major airport in metropolitan area.
is_international: u64
The airport provides international flights.
website: String
Airport official website.
facebook: String
Airport official Facebook page.
twitter: String
Airport official Twitter account.
instagram: String
Airport official Instagram profile.
linkedin: String
Airport official Linkedin profile.
slug: String
AirLabs generated uniq Airport ID, which you can use for SEO, etc.