pub struct NatPoint {
pub token: String,
pub name: Option<String>,
pub latitude: Option<f64>,
pub longitude: Option<f64>,
}Expand description
A waypoint or fix on a North Atlantic Track.
This represents a single point in a NAT route. Points may be defined either by:
- Named fix: A published navaid or waypoint (e.g., “WEST”, “STIRA”) with optional coordinates
- Coordinate: A latitude/longitude pair in shorthand notation (e.g., “50/50” for 50°N 50°W)
§Fields
token: Raw identifier as parsed from the NAT bulletin (e.g., “STIRA”, “50/50”)name: Human-readable name (e.g., “STANDARD INSTRUMENT REPAIR AREA”); None for coordinateslatitude: Decimal latitude if available; None if unresolvedlongitude: Decimal longitude if available; None if unresolved
Fields§
§token: String§name: Option<String>§latitude: Option<f64>§longitude: Option<f64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for NatPoint
impl<'de> Deserialize<'de> for NatPoint
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 NatPoint
impl RefUnwindSafe for NatPoint
impl Send for NatPoint
impl Sync for NatPoint
impl Unpin for NatPoint
impl UnsafeUnpin for NatPoint
impl UnwindSafe for NatPoint
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