pub struct AprsMessage {
pub from: AprsCallsign,
pub to: AprsCallsign,
pub text: String,
pub message_number: u32,
pub acknowledged: bool,
}Expand description
An APRS message (for RX history or TX queue).
APRS messaging supports point-to-point text messages between stations, with acknowledgment. The TH-D75 stores a history of received and transmitted messages.
Fields§
§from: AprsCallsignSource callsign (who sent the message).
to: AprsCallsignDestination callsign (who the message is addressed to).
text: StringMessage text (up to 67 characters per the APRS spec).
message_number: u32Message number for acknowledgment (1-99999, or 0 if no ack).
acknowledged: boolWhether this message has been acknowledged.
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 · 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
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 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