pub struct WindowStats {
pub event_count: usize,
pub oldest_event_timestamp: Option<u64>,
pub newest_event_timestamp: Option<u64>,
pub window_duration_ms: Option<u64>,
}Expand description
Window statistics for monitoring
Fields§
§event_count: usize§oldest_event_timestamp: Option<u64>§newest_event_timestamp: Option<u64>§window_duration_ms: Option<u64>Trait Implementations§
Source§impl Clone for WindowStats
impl Clone for WindowStats
Source§fn clone(&self) -> WindowStats
fn clone(&self) -> WindowStats
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 WindowStats
impl RefUnwindSafe for WindowStats
impl Send for WindowStats
impl Sync for WindowStats
impl Unpin for WindowStats
impl UnwindSafe for WindowStats
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