pub struct NatBulletin {
pub tracks: Vec<NatTrack>,
pub tmi: Option<String>,
pub updated_at: Option<String>,
}Expand description
A complete set of North Atlantic Tracks for a given validity period.
This represents the entire NAT bulletin published by the FAA, containing all active tracks for a specific time window. The bulletin includes metadata about when it was published and any traffic management initiatives (TMI) in effect.
§Fields
tracks: Collection of all active tracks (typically 6–8 tracks labeled A–G or H)tmi: Traffic management initiative identifier if active (e.g., “TMI00001”)updated_at: Timestamp when the bulletin was last updated
§Example
ⓘ
let bulletin = parse_nat_bulletin(raw_html);
println!("Active tracks: {:?}", bulletin.tracks.iter().map(|t| &t.track_id).collect::<Vec<_>>());
println!("Valid from: {}", bulletin.updated_at.unwrap_or_default());Fields§
§tracks: Vec<NatTrack>§tmi: Option<String>§updated_at: Option<String>Trait Implementations§
Source§impl Clone for NatBulletin
impl Clone for NatBulletin
Source§fn clone(&self) -> NatBulletin
fn clone(&self) -> NatBulletin
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 NatBulletin
impl Debug for NatBulletin
Source§impl Default for NatBulletin
impl Default for NatBulletin
Source§fn default() -> NatBulletin
fn default() -> NatBulletin
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NatBulletin
impl<'de> Deserialize<'de> for NatBulletin
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 NatBulletin
impl RefUnwindSafe for NatBulletin
impl Send for NatBulletin
impl Sync for NatBulletin
impl Unpin for NatBulletin
impl UnsafeUnpin for NatBulletin
impl UnwindSafe for NatBulletin
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