[−][src]Struct ais::sentence::AisSentence
Represents an NMEA sentence parsed as AIS
Fields
talker_id: TalkerId
report_type: AisReportType
num_fragments: u8
fragment_number: u8
message_id: Option<u8>
channel: Option<char>
data: Cow<'a, [u8]>
fill_bit_count: u8
message_type: u8
message: Option<AisMessage>
Methods
impl<'a> AisSentence<'a>
[src]
pub fn has_more(&self) -> bool
[src]
Returns whether there are more fragments to come
pub fn is_fragment(&self) -> bool
[src]
Returns whether this is part of a fragmented message set
Trait Implementations
impl<'a> Debug for AisSentence<'a>
[src]
impl<'a> PartialEq<AisSentence<'a>> for AisSentence<'a>
[src]
fn eq(&self, other: &AisSentence<'a>) -> bool
[src]
fn ne(&self, other: &AisSentence<'a>) -> bool
[src]
impl<'a> StructuralPartialEq for AisSentence<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for AisSentence<'a>
impl<'a> Send for AisSentence<'a>
impl<'a> Sync for AisSentence<'a>
impl<'a> Unpin for AisSentence<'a>
impl<'a> UnwindSafe for AisSentence<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,