pub struct EventStats {
pub total_events: u64,
pub task_events: u64,
pub worker_events: u64,
pub events_by_type: HashMap<String, u64>,
pub events_by_hostname: HashMap<String, u64>,
pub last_event_time: Option<DateTime<Utc>>,
}Fields§
§total_events: u64§task_events: u64§worker_events: u64§events_by_type: HashMap<String, u64>§events_by_hostname: HashMap<String, u64>§last_event_time: Option<DateTime<Utc>>Trait Implementations§
Source§impl Clone for EventStats
impl Clone for EventStats
Source§fn clone(&self) -> EventStats
fn clone(&self) -> EventStats
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 moreSource§impl Debug for EventStats
impl Debug for EventStats
Source§impl Default for EventStats
impl Default for EventStats
Source§fn default() -> EventStats
fn default() -> EventStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EventStats
impl RefUnwindSafe for EventStats
impl Send for EventStats
impl Sync for EventStats
impl Unpin for EventStats
impl UnwindSafe for EventStats
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