pub struct PacketSummary<'a> {
pub source: &'a [u8],
pub destination: &'a [u8],
pub data_type: &'static str,
pub semantic: &'static str,
pub coordinates: Option<Coordinates>,
pub nmea_checksum: Option<NmeaChecksum>,
pub telemetry_sequence: Option<u16>,
pub mic_e_speed_course: Option<MicESpeedCourse>,
}Expand description
Structured packet diagnostic summary.
Fields§
§source: &'a [u8]Source address bytes.
destination: &'a [u8]Destination address bytes.
data_type: &'static strAPRS data type identifier name.
semantic: &'static strAPRS semantic kind name.
coordinates: Option<Coordinates>Decoded coordinates when the semantic family supports them.
nmea_checksum: Option<NmeaChecksum>NMEA checksum details when present.
telemetry_sequence: Option<u16>Telemetry sequence number when present and numeric.
mic_e_speed_course: Option<MicESpeedCourse>Mic-E speed/course details when present and decodable.
Trait Implementations§
Source§impl<'a> Clone for PacketSummary<'a>
impl<'a> Clone for PacketSummary<'a>
Source§fn clone(&self) -> PacketSummary<'a>
fn clone(&self) -> PacketSummary<'a>
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<'a> Debug for PacketSummary<'a>
impl<'a> Debug for PacketSummary<'a>
Source§impl<'a> PartialEq for PacketSummary<'a>
impl<'a> PartialEq for PacketSummary<'a>
impl<'a> Copy for PacketSummary<'a>
impl<'a> StructuralPartialEq for PacketSummary<'a>
Auto Trait Implementations§
impl<'a> Freeze for PacketSummary<'a>
impl<'a> RefUnwindSafe for PacketSummary<'a>
impl<'a> Send for PacketSummary<'a>
impl<'a> Sync for PacketSummary<'a>
impl<'a> Unpin for PacketSummary<'a>
impl<'a> UnsafeUnpin for PacketSummary<'a>
impl<'a> UnwindSafe for PacketSummary<'a>
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