pub struct AprsMessage {
pub addressee: Vec<u8>,
pub text: Vec<u8>,
pub subtype: MessageSubtype,
}Expand description
An APRS message, bulletin, ACK/REJ, or telemetry metadata packet.
DTI: :
Wire format: :AAAAAAAAA:text{id
where AAAAAAAAA is a space-padded 9-character addressee.
Fields§
§addressee: Vec<u8>Addressee, trimmed of trailing spaces.
text: Vec<u8>Message text (without the { separator or message number).
subtype: MessageSubtypeSubtype discriminated from the addressee and text content.
Implementations§
Trait Implementations§
Source§impl Clone for AprsMessage
impl Clone for AprsMessage
Source§fn clone(&self) -> AprsMessage
fn clone(&self) -> AprsMessage
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 AprsMessage
impl Debug for AprsMessage
Source§impl PartialEq for AprsMessage
impl PartialEq for AprsMessage
Source§fn eq(&self, other: &AprsMessage) -> bool
fn eq(&self, other: &AprsMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AprsMessage
impl StructuralPartialEq for AprsMessage
Auto Trait Implementations§
impl Freeze for AprsMessage
impl RefUnwindSafe for AprsMessage
impl Send for AprsMessage
impl Sync for AprsMessage
impl Unpin for AprsMessage
impl UnsafeUnpin for AprsMessage
impl UnwindSafe for AprsMessage
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