pub struct ClassBExtendedData {
pub vessel_name: String,
pub ship_type: u8,
pub dimension_to_bow: u16,
pub dimension_to_stern: u16,
pub dimension_to_port: u8,
pub dimension_to_starboard: u8,
pub position_fixing_device: u8,
pub dte: bool,
pub assigned_mode: bool,
}Expand description
Static extension carried by a Type 19 Class B position report.
Fields§
§vessel_name: String§ship_type: u8§dimension_to_bow: u16§dimension_to_stern: u16§dimension_to_port: u8§dimension_to_starboard: u8§position_fixing_device: u8§dte: bool§assigned_mode: boolTrait Implementations§
Source§impl Clone for ClassBExtendedData
impl Clone for ClassBExtendedData
Source§fn clone(&self) -> ClassBExtendedData
fn clone(&self) -> ClassBExtendedData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ClassBExtendedData
impl Debug for ClassBExtendedData
impl Eq for ClassBExtendedData
Source§impl PartialEq for ClassBExtendedData
impl PartialEq for ClassBExtendedData
impl StructuralPartialEq for ClassBExtendedData
Auto Trait Implementations§
impl Freeze for ClassBExtendedData
impl RefUnwindSafe for ClassBExtendedData
impl Send for ClassBExtendedData
impl Sync for ClassBExtendedData
impl Unpin for ClassBExtendedData
impl UnsafeUnpin for ClassBExtendedData
impl UnwindSafe for ClassBExtendedData
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