#[non_exhaustive]pub struct IngestedEventStatistics {
pub number_of_events: Option<i64>,
pub event_data_size_in_bytes: Option<i64>,
pub least_recent_event: Option<String>,
pub most_recent_event: Option<String>,
pub last_updated_time: Option<String>,
}
Expand description
Data about the stored events.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.number_of_events: Option<i64>
The number of stored events.
event_data_size_in_bytes: Option<i64>
The total size of the stored events.
least_recent_event: Option<String>
The oldest stored event.
most_recent_event: Option<String>
The newest stored event.
last_updated_time: Option<String>
Timestamp of when the stored event was last updated.
Implementations§
source§impl IngestedEventStatistics
impl IngestedEventStatistics
sourcepub fn number_of_events(&self) -> Option<i64>
pub fn number_of_events(&self) -> Option<i64>
The number of stored events.
sourcepub fn event_data_size_in_bytes(&self) -> Option<i64>
pub fn event_data_size_in_bytes(&self) -> Option<i64>
The total size of the stored events.
sourcepub fn least_recent_event(&self) -> Option<&str>
pub fn least_recent_event(&self) -> Option<&str>
The oldest stored event.
sourcepub fn most_recent_event(&self) -> Option<&str>
pub fn most_recent_event(&self) -> Option<&str>
The newest stored event.
sourcepub fn last_updated_time(&self) -> Option<&str>
pub fn last_updated_time(&self) -> Option<&str>
Timestamp of when the stored event was last updated.
source§impl IngestedEventStatistics
impl IngestedEventStatistics
sourcepub fn builder() -> IngestedEventStatisticsBuilder
pub fn builder() -> IngestedEventStatisticsBuilder
Creates a new builder-style object to manufacture IngestedEventStatistics
.
Trait Implementations§
source§impl Clone for IngestedEventStatistics
impl Clone for IngestedEventStatistics
source§fn clone(&self) -> IngestedEventStatistics
fn clone(&self) -> IngestedEventStatistics
Returns a copy 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 moresource§impl Debug for IngestedEventStatistics
impl Debug for IngestedEventStatistics
source§impl PartialEq for IngestedEventStatistics
impl PartialEq for IngestedEventStatistics
source§fn eq(&self, other: &IngestedEventStatistics) -> bool
fn eq(&self, other: &IngestedEventStatistics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for IngestedEventStatistics
Auto Trait Implementations§
impl Freeze for IngestedEventStatistics
impl RefUnwindSafe for IngestedEventStatistics
impl Send for IngestedEventStatistics
impl Sync for IngestedEventStatistics
impl Unpin for IngestedEventStatistics
impl UnwindSafe for IngestedEventStatistics
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
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>
Creates a shared type from an unshared type.