Struct aprs_encode::aprs::header::AprsHeader [−][src]
pub struct AprsHeader<'a> { pub src_call: &'a str, pub dest_call: &'a str, pub path: Option<&'a [&'a str]>, }
Represents the header of an APRS packet
Fields
src_call: &'a str
Source callsign
dest_call: &'a str
Destination callsign
path: Option<&'a [&'a str]>
Optional packet path specifier
Trait Implementations
impl<'a> Clone for AprsHeader<'a>
[src]
impl<'a> Clone for AprsHeader<'a>
[src]fn clone(&self) -> AprsHeader<'a>
[src]
fn clone(&self) -> AprsHeader<'a>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<'a> Debug for AprsHeader<'a>
[src]
impl<'a> Debug for AprsHeader<'a>
[src]impl PackArrayString for AprsHeader<'_>
[src]
impl PackArrayString for AprsHeader<'_>
[src]fn pack_into<const SIZE: usize>(
&self,
s: &mut ArrayString<SIZE>
) -> Result<(), PackError>
[src]
fn pack_into<const SIZE: usize>(
&self,
s: &mut ArrayString<SIZE>
) -> Result<(), PackError>
[src]Pack the header into an ArrayString
impl<'a> PartialEq<AprsHeader<'a>> for AprsHeader<'a>
[src]
impl<'a> PartialEq<AprsHeader<'a>> for AprsHeader<'a>
[src]fn eq(&self, other: &AprsHeader<'a>) -> bool
[src]
fn eq(&self, other: &AprsHeader<'a>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &AprsHeader<'a>) -> bool
[src]
fn ne(&self, other: &AprsHeader<'a>) -> bool
[src]This method tests for !=
.
impl<'a> PartialOrd<AprsHeader<'a>> for AprsHeader<'a>
[src]
impl<'a> PartialOrd<AprsHeader<'a>> for AprsHeader<'a>
[src]fn partial_cmp(&self, other: &AprsHeader<'a>) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &AprsHeader<'a>) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more