[][src]Struct nmea_parser::ais::AidToNavigationReport

pub struct AidToNavigationReport {
    pub own_vessel: bool,
    pub station: Station,
    pub mmsi: u32,
    pub aid_type: NavAidType,
    pub name: String,
    pub latitude: Option<f64>,
    pub longitude: Option<f64>,
    pub dimension_to_bow: Option<u16>,
    pub dimension_to_stern: Option<u16>,
    pub dimension_to_port: Option<u16>,
    pub dimension_to_starboard: Option<u16>,
    pub position_fix_type: Option<PositionFixType>,
    pub timestamp_seconds: u8,
    pub off_position_indicator: bool,
    pub regional: u8,
    pub raim_flag: bool,
    pub virtual_aid_flag: bool,
    pub assigned_mode_flag: bool,
    // some fields omitted
}

AIS VDM/VDO type 21: Aid-to-Navigation Report

Fields

own_vessel: bool

True if the data is about own vessel, false if about other.

station: Station

AIS station type.

mmsi: u32

User ID (30 bits)

aid_type: NavAidType

Aid type (5 bits)

name: String

Name (120 bits)

latitude: Option<f64>

Latitude

longitude: Option<f64>

Longitude

dimension_to_bow: Option<u16>

Overall dimension / reference for position A (9 bits)

dimension_to_stern: Option<u16>

Overall dimension / reference for position B (9 bits)

dimension_to_port: Option<u16>

Overall dimension / reference for position C (6 bits)

dimension_to_starboard: Option<u16>

Overall dimension / reference for position C (6 bits)

position_fix_type: Option<PositionFixType>timestamp_seconds: u8

Derived from UTC second (6 bits)

off_position_indicator: bool

Off-position indicator (1 bit): true = off position, false = on position

regional: u8

Regional reserved, uninterpreted.

raim_flag: bool

Riverine And Inland Navigation systems blue sign: RAIM (Receiver autonomous integrity monitoring) flag of electronic position fixing device; false = RAIM not in use = default; true = RAIM in use

virtual_aid_flag: bool

Virtual aid flag: true = virtual aid to navigation simulated by nearby AIS station false = real aid to navigation at indicated position

assigned_mode_flag: bool

Assigned-mode flag

Trait Implementations

impl Clone for AidToNavigationReport[src]

impl Debug for AidToNavigationReport[src]

impl Default for AidToNavigationReport[src]

impl LatLon for AidToNavigationReport[src]

impl PartialEq<AidToNavigationReport> for AidToNavigationReport[src]

impl StructuralPartialEq for AidToNavigationReport[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> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

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

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

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> TryConv for T

impl<T> TryConv for T

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.