pub struct AprsObject {
pub name: Vec<u8>,
pub live: bool,
pub timestamp: Timestamp,
pub position: Position,
pub extension: Option<Extension>,
pub frequency_mhz: Option<f32>,
pub comment: Vec<u8>,
}Expand description
An APRS Object Report.
DTI: ;
Objects have a fixed 9-character name, a mandatory timestamp, and a position. They are used to report the location of things other than the sending station (storms, marathons, spacecraft, etc.).
Fields§
§name: Vec<u8>Object name, trimmed of trailing spaces (original APRS format pads to 9 chars).
live: booltrue if the object is live/active; false if it has been killed/removed.
timestamp: TimestampMandatory timestamp.
position: Position§extension: Option<Extension>Optional data extension (course/speed, PHG, RNG, DFS) from the comment field.
frequency_mhz: Option<f32>Frequency in MHz extracted from the comment field, if present.
comment: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for AprsObject
impl Clone for AprsObject
Source§fn clone(&self) -> AprsObject
fn clone(&self) -> AprsObject
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 AprsObject
impl Debug for AprsObject
Source§impl PartialEq for AprsObject
impl PartialEq for AprsObject
Source§fn eq(&self, other: &AprsObject) -> bool
fn eq(&self, other: &AprsObject) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AprsObject
Auto Trait Implementations§
impl Freeze for AprsObject
impl RefUnwindSafe for AprsObject
impl Send for AprsObject
impl Sync for AprsObject
impl Unpin for AprsObject
impl UnsafeUnpin for AprsObject
impl UnwindSafe for AprsObject
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