pub(crate) struct ReflectorView {
pub(crate) callsign: String,
pub(crate) protocol: String,
pub(crate) last_seen: Option<DateTime<Utc>>,
pub(crate) country: Option<String>,
pub(crate) dashboard_url: Option<String>,
pub(crate) tier2_available: bool,
pub(crate) created_at: Option<DateTime<Utc>>,
}Expand description
JSON view of one reflector row.
Fields§
§callsign: StringReflector callsign, e.g. "REF030".
protocol: StringProtocol family ("dplus", "dextra", or "dcs").
last_seen: Option<DateTime<Utc>>Last time any activity was observed.
country: Option<String>Two-letter country code, if known.
dashboard_url: Option<String>URL of the reflector’s web dashboard, if known.
tier2_available: boolWhether the reflector supports Tier 2 XLX UDP monitor.
created_at: Option<DateTime<Utc>>When this row was first inserted into the reflectors table.
Operators use this to distinguish “recently discovered” reflectors from long-established ones when triaging activity.
Trait Implementations§
Source§impl Debug for ReflectorView
impl Debug for ReflectorView
Source§impl From<ReflectorRow> for ReflectorView
impl From<ReflectorRow> for ReflectorView
Source§fn from(row: ReflectorRow) -> Self
fn from(row: ReflectorRow) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReflectorView
impl RefUnwindSafe for ReflectorView
impl Send for ReflectorView
impl Sync for ReflectorView
impl Unpin for ReflectorView
impl UnwindSafe for ReflectorView
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