pub(crate) struct ActivityView {
pub(crate) id: i64,
pub(crate) reflector: String,
pub(crate) module: Option<String>,
pub(crate) callsign: String,
pub(crate) source: String,
pub(crate) observed_at: DateTime<Utc>,
}Expand description
JSON view of one activity-log row.
Fields§
§id: i64Auto-generated row identifier from the activity_log BIGSERIAL
primary key. Exposed so clients can deduplicate observations
across pages or correlate them with backend logs.
reflector: StringReflector callsign where the activity was heard.
module: Option<String>Module letter (A-Z), if the source reported one.
callsign: StringOperator or node callsign.
source: StringData source tag ("xlx_monitor", "ircddb", "pistar").
observed_at: DateTime<Utc>When the activity was observed.
Trait Implementations§
Source§impl Debug for ActivityView
impl Debug for ActivityView
Source§impl From<ActivityRow> for ActivityView
impl From<ActivityRow> for ActivityView
Source§fn from(row: ActivityRow) -> Self
fn from(row: ActivityRow) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ActivityView
impl RefUnwindSafe for ActivityView
impl Send for ActivityView
impl Sync for ActivityView
impl Unpin for ActivityView
impl UnwindSafe for ActivityView
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