pub struct FaaFeature {
pub properties: Value,
pub geometry: Value,
}Expand description
A GeoJSON feature from FAA’s ArcGIS Open Data platform.
Features represent geographic entities published by the FAA (e.g., ATS routes, airspace boundaries). Each feature contains properties (metadata) and geometry (spatial shape in GeoJSON format). Feature structures vary by dataset; properties are stored as JSON values for flexibility.
§Fields
properties: Metadata fields specific to the feature type (name, identifier, regulations, etc.)geometry: GeoJSON geometry object (Point, LineString, Polygon, or MultiPolygon)
§Example
ⓘ
let routes = parse_faa_ats_routes()?;
for route in routes {
if let Some(name) = route.properties.get("name") {
println!("Route: {}", name);
}
}Fields§
§properties: Value§geometry: ValueTrait Implementations§
Source§impl Clone for FaaFeature
impl Clone for FaaFeature
Source§fn clone(&self) -> FaaFeature
fn clone(&self) -> FaaFeature
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 FaaFeature
impl Debug for FaaFeature
Source§impl Default for FaaFeature
impl Default for FaaFeature
Source§fn default() -> FaaFeature
fn default() -> FaaFeature
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FaaFeature
impl<'de> Deserialize<'de> for FaaFeature
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 FaaFeature
impl RefUnwindSafe for FaaFeature
impl Send for FaaFeature
impl Sync for FaaFeature
impl Unpin for FaaFeature
impl UnsafeUnpin for FaaFeature
impl UnwindSafe for FaaFeature
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