#[non_exhaustive]pub struct Location {Show 18 fields
pub aerial_height: Option<String>,
pub city: Option<String>,
pub continent: Option<String>,
pub coordinates: Option<Vec<f64>>,
pub country: Option<String>,
pub desc: Option<String>,
pub geodetic_altitude: Option<String>,
pub geodetic_vertical_accuracy: Option<String>,
pub geohash: Option<String>,
pub horizontal_accuracy: Option<String>,
pub is_on_premises: Option<bool>,
pub isp: Option<String>,
pub lat: Option<f64>,
pub long: Option<f64>,
pub postal_code: Option<String>,
pub pressure_altitude: Option<String>,
pub provider: Option<String>,
pub region: Option<String>,
}Expand description
Geo Location
The Geo Location object describes a geographical location, usually associated with an IP address.
[] Category: | Name: location
Constraints:
- at_least_one:
[city,country,postal_code,region]
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.aerial_height: Option<String>Aerial Height
Expressed as either height above takeoff location or height above ground level (AGL) for a UAS current location. This value is provided in meters and must have a minimum resolution of 1 m. Special Values: Invalid, No Value, or Unknown: -1000 m.
optional
city: Option<String>City
The name of the city.
recommended
continent: Option<String>Continent
The name of the continent.
recommended
coordinates: Option<Vec<f64>>Coordinates
A two-element array, containing a longitude/latitude pair. The format conforms with GeoJSON. For example: [-73.983, 40.719].
optional
country: Option<String>Country
The ISO 3166-1 Alpha-2 country code.
Note: The two letter country code should be capitalized. For example: US or CA.
recommended
desc: Option<String>Description
The description of the geographical location.
optional
geodetic_altitude: Option<String>Geodetic Altitude
The aircraft distance above or below the ellipsoid as measured along a line that passes through the aircraft and is normal to the surface of the WGS-84 ellipsoid. This value is provided in meters and must have a minimum resolution of 1 m. Special Values: Invalid, No Value, or Unknown: -1000 m.
optional
geodetic_vertical_accuracy: Option<String>Geodetic Vertical Accuracy
Provides quality/containment on geodetic altitude. This is based on ADS-B Geodetic Vertical Accuracy (GVA). Measured in meters.
optional
geohash: Option<String>Geohash
Geohash of the geo-coordinates (latitude and longitude).
Geohashing is a geocoding system used to encode geographic coordinates in decimal degrees, to a single string.optional
horizontal_accuracy: Option<String>Horizontal Accuracy
Provides quality/containment on horizontal position. This is based on ADS-B NACp. Measured in meters.
optional
is_on_premises: Option<bool>On Premises
The indication of whether the location is on premises.
optional
isp: Option<String>ISP Name
The name of the Internet Service Provider (ISP).
optional
lat: Option<f64>Latitude
The geographical Latitude coordinate represented in Decimal Degrees (DD). For example: 42.361145.
optional
long: Option<f64>Longitude
The geographical Longitude coordinate represented in Decimal Degrees (DD). For example: -71.057083.
optional
postal_code: Option<String>Postal Code
The postal code of the location.
optional
pressure_altitude: Option<String>Pressure Altitude
The uncorrected barometric pressure altitude (based on reference standard 29.92 inHg, 1013.25 mb) provides a reference for algorithms that utilize ‘altitude deltas’ between aircraft. This value is provided in meters and must have a minimum resolution of 1 m.. Special Values: Invalid, No Value, or Unknown: -1000 m.
optional
provider: Option<String>Provider
The provider of the geographical location data.
optional
region: Option<String>Region
The alphanumeric code that identifies the principal subdivision (e.g. province or state) of the country. For example, ‘CH-VD’ for the Canton of Vaud, Switzerland
optional