pub struct CountersSnapshot {
pub events_tracked: u64,
pub events_dropped_mpsc: u64,
pub events_dropped_disk: u64,
pub segments_posted: u64,
pub bytes_sent: u64,
pub last_post_unix_ms: i64,
pub last_post_iso: String,
}Fields§
§events_tracked: u64§events_dropped_mpsc: u64§events_dropped_disk: u64§segments_posted: u64§bytes_sent: u64§last_post_unix_ms: i64§last_post_iso: StringRFC 3339 with local timezone offset, derived from last_post_unix_ms. Empty string when last_post_unix_ms == 0 (never posted).
Trait Implementations§
Source§impl Clone for CountersSnapshot
impl Clone for CountersSnapshot
Source§fn clone(&self) -> CountersSnapshot
fn clone(&self) -> CountersSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CountersSnapshot
impl Debug for CountersSnapshot
Source§impl Default for CountersSnapshot
impl Default for CountersSnapshot
Source§fn default() -> CountersSnapshot
fn default() -> CountersSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CountersSnapshot
impl<'de> Deserialize<'de> for CountersSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CountersSnapshot
impl RefUnwindSafe for CountersSnapshot
impl Send for CountersSnapshot
impl Sync for CountersSnapshot
impl Unpin for CountersSnapshot
impl UnsafeUnpin for CountersSnapshot
impl UnwindSafe for CountersSnapshot
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