pub struct StationEntry {
pub callsign: String,
pub last_heard: Instant,
pub position: Option<AprsPosition>,
pub last_status: Option<String>,
pub last_weather: Option<AprsWeather>,
pub packet_count: u32,
pub last_path: Vec<String>,
}Expand description
A single station’s latest state.
Fields§
§callsign: StringStation callsign (key).
last_heard: InstantWhen this station was last heard.
position: Option<AprsPosition>Most recent position.
last_status: Option<String>Most recent status text.
last_weather: Option<AprsWeather>Most recent weather report.
packet_count: u32Total number of packets received from this station.
last_path: Vec<String>Digipeater path from the most recent packet.
Trait Implementations§
Source§impl Clone for StationEntry
impl Clone for StationEntry
Source§fn clone(&self) -> StationEntry
fn clone(&self) -> StationEntry
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 moreAuto Trait Implementations§
impl Freeze for StationEntry
impl RefUnwindSafe for StationEntry
impl Send for StationEntry
impl Sync for StationEntry
impl Unpin for StationEntry
impl UnwindSafe for StationEntry
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