pub struct FullLiveFlightData {Show 22 fields
pub fr24_id: String,
pub flight: String,
pub callsign: String,
pub lat: f64,
pub lon: f64,
pub track: u32,
pub alt: u32,
pub gspeed: u32,
pub vspeed: i32,
pub squawk: String,
pub timestamp: String,
pub source: String,
pub hex: String,
pub type_field: String,
pub reg: String,
pub painted_as: String,
pub operating_as: String,
pub orig_iata: String,
pub orig_icao: String,
pub dest_iata: String,
pub dest_icao: String,
pub eta: String,
}Expand description
Data for each flight returned from flight-positions endpoint
Fields§
§fr24_id: String§flight: String§callsign: String§lat: f64§lon: f64§track: u32§alt: u32§gspeed: u32§vspeed: i32§squawk: String§timestamp: String§source: String§hex: String§type_field: String§reg: String§painted_as: String§operating_as: String§orig_iata: String§orig_icao: String§dest_iata: String§dest_icao: String§eta: StringTrait Implementations§
Source§impl Debug for FullLiveFlightData
impl Debug for FullLiveFlightData
Source§impl Default for FullLiveFlightData
impl Default for FullLiveFlightData
Source§fn default() -> FullLiveFlightData
fn default() -> FullLiveFlightData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FullLiveFlightData
impl<'de> Deserialize<'de> for FullLiveFlightData
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 FullLiveFlightData
impl RefUnwindSafe for FullLiveFlightData
impl Send for FullLiveFlightData
impl Sync for FullLiveFlightData
impl Unpin for FullLiveFlightData
impl UnsafeUnpin for FullLiveFlightData
impl UnwindSafe for FullLiveFlightData
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