pub struct BufferStats {
    pub total: usize,
    pub by_type: HashMap<String, usize>,
    pub oldest_timestamp: Option<DateTime<Utc>>,
    pub newest_timestamp: Option<DateTime<Utc>>,
}Expand description
Statistics for the message buffer
Fields§
§total: usize§by_type: HashMap<String, usize>§oldest_timestamp: Option<DateTime<Utc>>§newest_timestamp: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for BufferStats
 
impl Clone for BufferStats
Source§fn clone(&self) -> BufferStats
 
fn clone(&self) -> BufferStats
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for BufferStats
impl RefUnwindSafe for BufferStats
impl Send for BufferStats
impl Sync for BufferStats
impl Unpin for BufferStats
impl UnwindSafe for BufferStats
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