pub(crate) struct ConnectedNodeView {
pub(crate) reflector: String,
pub(crate) node_callsign: String,
pub(crate) module: Option<String>,
pub(crate) protocol: Option<String>,
pub(crate) connected_since: Option<DateTime<Utc>>,
pub(crate) last_heard: Option<DateTime<Utc>>,
}Expand description
JSON view of one connected-node row.
A node is a gateway or hotspot currently linked to a reflector module,
as reported by the Tier 2 XLX UDP monitor nodes push notifications.
Fields§
§reflector: StringReflector callsign the node is connected to.
node_callsign: StringNode callsign with module suffix (e.g. "W1AW B").
module: Option<String>Reflector module letter the node is linked to, if reported.
protocol: Option<String>Protocol used by the node (e.g. "dplus", "dextra", "dcs").
connected_since: Option<DateTime<Utc>>When the node first connected, as reported by the reflector.
last_heard: Option<DateTime<Utc>>When the node was last seen in a monitor update.
Trait Implementations§
Source§impl Debug for ConnectedNodeView
impl Debug for ConnectedNodeView
Source§impl From<ConnectedNodeRow> for ConnectedNodeView
impl From<ConnectedNodeRow> for ConnectedNodeView
Source§fn from(row: ConnectedNodeRow) -> Self
fn from(row: ConnectedNodeRow) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConnectedNodeView
impl RefUnwindSafe for ConnectedNodeView
impl Send for ConnectedNodeView
impl Sync for ConnectedNodeView
impl Unpin for ConnectedNodeView
impl UnwindSafe for ConnectedNodeView
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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