[][src]Struct mavlink::common::ADSB_VEHICLE_DATA

pub struct ADSB_VEHICLE_DATA {
    pub ICAO_address: u32,
    pub lat: i32,
    pub lon: i32,
    pub altitude: i32,
    pub heading: u16,
    pub hor_velocity: u16,
    pub ver_velocity: i16,
    pub flags: AdsbFlags,
    pub squawk: u16,
    pub altitude_type: AdsbAltitudeType,
    pub callsign: [char; 9],
    pub emitter_type: AdsbEmitterType,
    pub tslc: u8,
}

id: 246 The location and information of an ADSB vehicle.

Fields

ICAO_address: u32

id: 246 The location and information of an ADSB vehicle.

lat: i32

id: 246 The location and information of an ADSB vehicle.

lon: i32

id: 246 The location and information of an ADSB vehicle.

altitude: i32

id: 246 The location and information of an ADSB vehicle.

heading: u16

id: 246 The location and information of an ADSB vehicle.

hor_velocity: u16

id: 246 The location and information of an ADSB vehicle.

ver_velocity: i16

id: 246 The location and information of an ADSB vehicle.

flags: AdsbFlags

id: 246 The location and information of an ADSB vehicle.

squawk: u16

id: 246 The location and information of an ADSB vehicle.

altitude_type: AdsbAltitudeType

id: 246 The location and information of an ADSB vehicle.

callsign: [char; 9]

id: 246 The location and information of an ADSB vehicle.

emitter_type: AdsbEmitterType

id: 246 The location and information of an ADSB vehicle.

tslc: u8

id: 246 The location and information of an ADSB vehicle.

Implementations

impl ADSB_VEHICLE_DATA[src]

pub const ENCODED_LEN: usize[src]

pub fn deser(
    version: MavlinkVersion,
    _input: &[u8]
) -> Result<Self, ParserError>
[src]

pub fn ser(&self) -> Vec<u8>[src]

Trait Implementations

impl Clone for ADSB_VEHICLE_DATA[src]

impl Debug for ADSB_VEHICLE_DATA[src]

impl Default for ADSB_VEHICLE_DATA[src]

impl<'de> Deserialize<'de> for ADSB_VEHICLE_DATA[src]

impl PartialEq<ADSB_VEHICLE_DATA> for ADSB_VEHICLE_DATA[src]

impl Serialize for ADSB_VEHICLE_DATA[src]

impl StructuralPartialEq for ADSB_VEHICLE_DATA[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.