pub struct PilotPositionUpdateMessage {Show 13 fields
pub callsign: String,
pub transponder_mode: TransponderMode,
pub transponder_code: TransponderCode,
pub rating: PilotRating,
pub latitude: f64,
pub longitude: f64,
pub true_altitude: f64,
pub pressure_altitude: f64,
pub ground_speed: u32,
pub pitch: f64,
pub bank: f64,
pub heading: f64,
pub on_ground: bool,
}
Expand description
Sent at regular intervals by a pilot client to update the server with its position
Fields§
§callsign: String
§transponder_mode: TransponderMode
§transponder_code: TransponderCode
§rating: PilotRating
§latitude: f64
§longitude: f64
§true_altitude: f64
§pressure_altitude: f64
§ground_speed: u32
§pitch: f64
§bank: f64
§heading: f64
§on_ground: bool
Implementations§
Trait Implementations§
Source§impl Clone for PilotPositionUpdateMessage
impl Clone for PilotPositionUpdateMessage
Source§fn clone(&self) -> PilotPositionUpdateMessage
fn clone(&self) -> PilotPositionUpdateMessage
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 PilotPositionUpdateMessage
impl Debug for PilotPositionUpdateMessage
Source§impl Display for PilotPositionUpdateMessage
impl Display for PilotPositionUpdateMessage
Auto Trait Implementations§
impl Freeze for PilotPositionUpdateMessage
impl RefUnwindSafe for PilotPositionUpdateMessage
impl Send for PilotPositionUpdateMessage
impl Sync for PilotPositionUpdateMessage
impl Unpin for PilotPositionUpdateMessage
impl UnwindSafe for PilotPositionUpdateMessage
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