pub enum MessageSubtype {
Directed {
id: Option<Vec<u8>>,
},
Ack {
id: Vec<u8>,
},
Rej {
id: Vec<u8>,
},
Bulletin,
NwsBulletin,
TelemetryParm,
TelemetryUnit,
TelemetryEqns,
TelemetryBits,
DirectedQuery,
}Expand description
The subtype of an APRS message packet, discriminated at parse time.
Variants§
Directed
Directed message to a specific station. id is the optional message number.
Ack
Acknowledgement: id is the message number being ACK’d.
Rej
Rejection: id is the message number being REJ’d.
Bulletin
General bulletin (addressee starts with BLN).
NwsBulletin
National Weather Service or equivalent weather alert bulletin.
Addressee starts with NWS, SKY, CWA, or BOM.
TelemetryParm
Telemetry parameter names. Text starts with PARM.; addressee is the described station.
TelemetryUnit
Telemetry unit/label names. Text starts with UNIT..
TelemetryEqns
Telemetry equation coefficients. Text starts with EQNS..
TelemetryBits
Telemetry bit sense / project name. Text starts with BITS..
DirectedQuery
Directed station query. Text starts with ?.
Trait Implementations§
Source§impl Clone for MessageSubtype
impl Clone for MessageSubtype
Source§fn clone(&self) -> MessageSubtype
fn clone(&self) -> MessageSubtype
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 MessageSubtype
impl Debug for MessageSubtype
Source§impl PartialEq for MessageSubtype
impl PartialEq for MessageSubtype
Source§fn eq(&self, other: &MessageSubtype) -> bool
fn eq(&self, other: &MessageSubtype) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for MessageSubtype
impl StructuralPartialEq for MessageSubtype
Auto Trait Implementations§
impl Freeze for MessageSubtype
impl RefUnwindSafe for MessageSubtype
impl Send for MessageSubtype
impl Sync for MessageSubtype
impl Unpin for MessageSubtype
impl UnsafeUnpin for MessageSubtype
impl UnwindSafe for MessageSubtype
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