[][src]Struct ais::messages::static_and_voyage_related_data::StaticAndVoyageRelatedData

pub struct StaticAndVoyageRelatedData {
    pub message_type: u8,
    pub repeat_indicator: u8,
    pub mmsi: u32,
    pub ais_version: u8,
    pub imo_number: u32,
    pub callsign: String,
    pub vessel_name: String,
    pub ship_type: Option<ShipType>,
    pub dimension_to_bow: u16,
    pub dimension_to_stern: u16,
    pub dimension_to_port: u16,
    pub dimension_to_starboard: u16,
    pub epfd_type: Option<EpfdType>,
    pub eta_month_utc: Option<u8>,
    pub eta_day_utc: Option<u8>,
    pub eta_hour_utc: u8,
    pub eta_minute_utc: Option<u8>,
    pub draught: f32,
    pub destination: String,
    pub dte: Dte,
}

Fields

message_type: u8repeat_indicator: u8mmsi: u32ais_version: u8imo_number: u32callsign: Stringvessel_name: Stringship_type: Option<ShipType>dimension_to_bow: u16dimension_to_stern: u16dimension_to_port: u16dimension_to_starboard: u16epfd_type: Option<EpfdType>eta_month_utc: Option<u8>eta_day_utc: Option<u8>eta_hour_utc: u8eta_minute_utc: Option<u8>draught: f32destination: Stringdte: Dte

Trait Implementations

impl<'a> AisMessageType<'a> for StaticAndVoyageRelatedData[src]

impl Debug for StaticAndVoyageRelatedData[src]

impl PartialEq<StaticAndVoyageRelatedData> for StaticAndVoyageRelatedData[src]

impl StructuralPartialEq for StaticAndVoyageRelatedData[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> From<T> for T[src]

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

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.