pub struct Route {
pub identifier: String,
pub prefix: Option<String>,
pub second_letter: Option<String>,
pub number: Option<String>,
pub multiple_identifier: Option<String>,
}Expand description
An Airway Traffic Service (ATS) route connecting navigation points.
ATS routes are established airways defined by a sequence of navigation points.
The route name follows ICAO convention: [prefix]second_letter number[multiple_identifier]
§Examples of Route Designators
"N100"(North Atlantic tracks): prefix=None, second_letter=“N”, number=“100”, multiple_id=None"UN123"(Upper routes): prefix=“U”, second_letter=“N”, number=“123”, multiple_id=None"N456B"(Alternative routing): prefix=None, second_letter=“N”, number=“456”, multiple_id=“B”"B216A"(Jet route with alternative): prefix=“B”, second_letter=“2”, number=“16”, multiple_id=“A”
§Fields
identifier: Unique database identifierprefix: First letter (e.g., “U” for Upper, “L” for Lower), or Nonesecond_letter: Route category designator (e.g., “N” for North Atlantic)number: Numeric designator (1-999)multiple_identifier: Optional letter for alternative routes
Fields§
§identifier: String§prefix: Option<String>The prefix of the route, if any (must be “U” if any)
second_letter: Option<String>The second letter of the route
number: Option<String>The number of the route
multiple_identifier: Option<String>The multiple identifier of the route, if any
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Route
impl<'de> Deserialize<'de> for Route
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 Route
impl RefUnwindSafe for Route
impl Send for Route
impl Sync for Route
impl Unpin for Route
impl UnsafeUnpin for Route
impl UnwindSafe for Route
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