pub struct StatsSummaryResponse {
pub total_events: usize,
pub unique_entities: usize,
pub unique_event_types: usize,
pub time_range: TimeRange,
pub events_per_day: f64,
pub top_event_types: Vec<EventTypeCount>,
pub top_entities: Vec<EntityCount>,
pub first_event: Option<DateTime<Utc>>,
pub last_event: Option<DateTime<Utc>>,
}Expand description
Statistical summary response
Fields§
§total_events: usize§unique_entities: usize§unique_event_types: usize§time_range: TimeRange§events_per_day: f64§top_event_types: Vec<EventTypeCount>§top_entities: Vec<EntityCount>§first_event: Option<DateTime<Utc>>§last_event: Option<DateTime<Utc>>Trait Implementations§
Source§impl Debug for StatsSummaryResponse
impl Debug for StatsSummaryResponse
Auto Trait Implementations§
impl Freeze for StatsSummaryResponse
impl RefUnwindSafe for StatsSummaryResponse
impl Send for StatsSummaryResponse
impl Sync for StatsSummaryResponse
impl Unpin for StatsSummaryResponse
impl UnwindSafe for StatsSummaryResponse
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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