pub struct NmeaChecksum {
pub expected: u8,
pub calculated: u8,
pub valid: bool,
}Expand description
NMEA checksum validation details.
Fields§
§expected: u8Checksum value supplied by the packet.
calculated: u8Checksum calculated over bytes before *.
valid: boolWhether supplied and calculated checksums match.
Trait Implementations§
Source§impl Clone for NmeaChecksum
impl Clone for NmeaChecksum
Source§fn clone(&self) -> NmeaChecksum
fn clone(&self) -> NmeaChecksum
Returns a duplicate of the value. Read more
1.0.0 · 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 NmeaChecksum
impl Debug for NmeaChecksum
Source§impl PartialEq for NmeaChecksum
impl PartialEq for NmeaChecksum
impl Copy for NmeaChecksum
impl Eq for NmeaChecksum
impl StructuralPartialEq for NmeaChecksum
Auto Trait Implementations§
impl Freeze for NmeaChecksum
impl RefUnwindSafe for NmeaChecksum
impl Send for NmeaChecksum
impl Sync for NmeaChecksum
impl Unpin for NmeaChecksum
impl UnsafeUnpin for NmeaChecksum
impl UnwindSafe for NmeaChecksum
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