pub enum NmeaSentence {
    Timestamp(Field<DateTime>),
    TimestampMs(Field<Uint16>),
    Sentence(Field<Utf8String>),
    Unknown {
        data: Vec<u8>,
        field_def_num: u8,
    },
}

Variants

Timestamp(Field<DateTime>)

Timestamp message was output

TimestampMs(Field<Uint16>)

Fractional part of timestamp, added to timestamp

Sentence(Field<Utf8String>)

NMEA sentence

Unknown

Fields

data: Vec<u8>
field_def_num: u8

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.