pub enum MessageKind {
Direct,
Bulletin {
number: u8,
},
GroupBulletin {
group: String,
},
NwsBulletin,
AckRej,
}Expand description
APRS message kind (per APRS 1.0.1 §14 and bulletin sections).
Distinguishes direct station-to-station messages from the various bulletin forms based on the addressee prefix.
Variants§
Direct
Direct station-to-station message.
Bulletin
Generic bulletin (addressee BLN0-BLN9).
GroupBulletin
Group bulletin (addressee BLN<group> where group is an alpha
identifier, e.g. BLNWX for weather group).
NwsBulletin
National Weather Service bulletin (addressee NWS-*, SKY-*,
CWA-*, BOM-*).
AckRej
An APRS ack/rej control frame (text begins with ack or rej
followed by 1-5 alnum).
Trait Implementations§
Source§impl Clone for MessageKind
impl Clone for MessageKind
Source§fn clone(&self) -> MessageKind
fn clone(&self) -> MessageKind
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 MessageKind
impl Debug for MessageKind
Source§impl Hash for MessageKind
impl Hash for MessageKind
Source§impl PartialEq for MessageKind
impl PartialEq for MessageKind
impl Eq for MessageKind
impl StructuralPartialEq for MessageKind
Auto Trait Implementations§
impl Freeze for MessageKind
impl RefUnwindSafe for MessageKind
impl Send for MessageKind
impl Sync for MessageKind
impl Unpin for MessageKind
impl UnwindSafe for MessageKind
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