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