pub struct AprsIsLine {
pub source: String,
pub destination: String,
pub path: Vec<String>,
pub data: String,
pub qconstruct: Option<QConstruct>,
}Expand description
A parsed APRS-IS packet line.
Wraps the fields of a source>destination,path:data line without
interpreting the data portion. Use the parsers in the aprs crate
to decode the APRS information field.
Fields§
§source: StringSource callsign as it appears on the wire.
destination: StringDestination callsign (APRS tocall).
path: Vec<String>Path elements (digipeaters + Q-construct + gate).
data: StringRaw information field (everything after the :).
qconstruct: Option<QConstruct>Parsed Q-construct if one is present in the path.
Implementations§
Source§impl AprsIsLine
impl AprsIsLine
Trait Implementations§
Source§impl Clone for AprsIsLine
impl Clone for AprsIsLine
Source§fn clone(&self) -> AprsIsLine
fn clone(&self) -> AprsIsLine
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 AprsIsLine
impl Debug for AprsIsLine
Source§impl PartialEq for AprsIsLine
impl PartialEq for AprsIsLine
impl Eq for AprsIsLine
impl StructuralPartialEq for AprsIsLine
Auto Trait Implementations§
impl Freeze for AprsIsLine
impl RefUnwindSafe for AprsIsLine
impl Send for AprsIsLine
impl Sync for AprsIsLine
impl Unpin for AprsIsLine
impl UnwindSafe for AprsIsLine
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