[][src]Struct mavlink::common::AIS_VESSEL_DATA

pub struct AIS_VESSEL_DATA {
    pub MMSI: u32,
    pub lat: i32,
    pub lon: i32,
    pub COG: u16,
    pub heading: u16,
    pub velocity: u16,
    pub dimension_bow: u16,
    pub dimension_stern: u16,
    pub tslc: u16,
    pub flags: AisFlags,
    pub turn_rate: i8,
    pub navigational_status: AisNavStatus,
    pub mavtype: AisType,
    pub dimension_port: u8,
    pub dimension_starboard: u8,
    pub callsign: [char; 7],
    pub name: [char; 20],
}

id: 301 The location and information of an AIS vessel.

Fields

MMSI: u32

id: 301 The location and information of an AIS vessel.

lat: i32

id: 301 The location and information of an AIS vessel.

lon: i32

id: 301 The location and information of an AIS vessel.

COG: u16

id: 301 The location and information of an AIS vessel.

heading: u16

id: 301 The location and information of an AIS vessel.

velocity: u16

id: 301 The location and information of an AIS vessel.

dimension_bow: u16

id: 301 The location and information of an AIS vessel.

dimension_stern: u16

id: 301 The location and information of an AIS vessel.

tslc: u16

id: 301 The location and information of an AIS vessel.

flags: AisFlags

id: 301 The location and information of an AIS vessel.

turn_rate: i8

id: 301 The location and information of an AIS vessel.

navigational_status: AisNavStatus

id: 301 The location and information of an AIS vessel.

mavtype: AisType

id: 301 The location and information of an AIS vessel.

dimension_port: u8

id: 301 The location and information of an AIS vessel.

dimension_starboard: u8

id: 301 The location and information of an AIS vessel.

callsign: [char; 7]

id: 301 The location and information of an AIS vessel.

name: [char; 20]

id: 301 The location and information of an AIS vessel.

Implementations

impl AIS_VESSEL_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 AIS_VESSEL_DATA[src]

impl Debug for AIS_VESSEL_DATA[src]

impl Default for AIS_VESSEL_DATA[src]

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

impl PartialEq<AIS_VESSEL_DATA> for AIS_VESSEL_DATA[src]

impl Serialize for AIS_VESSEL_DATA[src]

impl StructuralPartialEq for AIS_VESSEL_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.