pub enum Jt72Message {
Standard {
call1: String,
call2: String,
grid_or_report: String,
},
Unsupported {
nc1: u32,
nc2: u32,
ng: u32,
},
}Expand description
Decoded JT 72-bit message payload.
The enum shape mirrors the itype classification in WSJT-X
packmsg (Type 1 = standard, Types 2–5 = compound-callsign
variants, Type 6 = free text) but for the MVP everything that
isn’t a plain standard message is collapsed into Unsupported.
Variants§
Standard
Standard two-callsign + grid / report message.
Fields
Unsupported
A message whose fields decode but don’t fit the standard pattern yet (compound callsign prefix/suffix, free text). Raw integer fields are exposed for callers that want to dig in.
Trait Implementations§
Source§impl Clone for Jt72Message
impl Clone for Jt72Message
Source§fn clone(&self) -> Jt72Message
fn clone(&self) -> Jt72Message
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 Jt72Message
impl Debug for Jt72Message
Source§impl Display for Jt72Message
impl Display for Jt72Message
Source§impl PartialEq for Jt72Message
impl PartialEq for Jt72Message
impl Eq for Jt72Message
impl StructuralPartialEq for Jt72Message
Auto Trait Implementations§
impl Freeze for Jt72Message
impl RefUnwindSafe for Jt72Message
impl Send for Jt72Message
impl Sync for Jt72Message
impl Unpin for Jt72Message
impl UnsafeUnpin for Jt72Message
impl UnwindSafe for Jt72Message
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more