pub struct FlightTrack {
pub icao24: String,
pub start_time: f64,
pub end_time: f64,
pub callsign: Option<String>,
pub path: Vec<Waypoint>,
}Expand description
Represents the trajectory for a certain aircraft at a given time.
Fields§
§icao24: StringUnique ICAO 24-bit address of the transponder in lower case hex string representation.
start_time: f64Time of the first waypoint in seconds since epoch (Unix time).
end_time: f64Time of the last waypoint in seconds since epoch (Unix time).
callsign: Option<String>Callsign (8 characters) that holds for the whole track.
path: Vec<Waypoint>Waypoints of the trajectory
Trait Implementations§
Source§impl Debug for FlightTrack
impl Debug for FlightTrack
Source§impl<'de> Deserialize<'de> for FlightTrack
impl<'de> Deserialize<'de> for FlightTrack
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 FlightTrack
impl RefUnwindSafe for FlightTrack
impl Send for FlightTrack
impl Sync for FlightTrack
impl Unpin for FlightTrack
impl UnwindSafe for FlightTrack
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