pub struct LongRangePosition {
pub mmsi: u32,
pub position_accuracy: bool,
pub raim: bool,
pub navigation_status: NavigationStatus,
pub longitude: Option<f64>,
pub latitude: Option<f64>,
pub sog: Option<u8>,
pub cog: Option<u16>,
pub gnss_position_status: bool,
}Expand description
AIS Type 27 long-range position report.
Fields§
§mmsi: u32§position_accuracy: bool§raim: bool§longitude: Option<f64>§latitude: Option<f64>§sog: Option<u8>§cog: Option<u16>§gnss_position_status: boolTrait Implementations§
Source§impl AisEncodable for LongRangePosition
impl AisEncodable for LongRangePosition
fn to_sentences( &self, options: AisTransmitOptions, ) -> Result<Vec<String>, EncodeError>
Source§impl Clone for LongRangePosition
impl Clone for LongRangePosition
Source§fn clone(&self) -> LongRangePosition
fn clone(&self) -> LongRangePosition
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 LongRangePosition
impl Debug for LongRangePosition
Source§impl PartialEq for LongRangePosition
impl PartialEq for LongRangePosition
impl StructuralPartialEq for LongRangePosition
Auto Trait Implementations§
impl Freeze for LongRangePosition
impl RefUnwindSafe for LongRangePosition
impl Send for LongRangePosition
impl Sync for LongRangePosition
impl Unpin for LongRangePosition
impl UnsafeUnpin for LongRangePosition
impl UnwindSafe for LongRangePosition
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