pub struct DaemonStats {
pub files_watched: usize,
pub sessions_imported: u64,
pub messages_imported: u64,
pub started_at: DateTime<Utc>,
pub errors: u64,
}Expand description
Statistics about the daemon’s operation.
Fields§
§files_watched: usizeNumber of session files currently being watched.
sessions_imported: u64Total number of sessions imported since daemon started.
messages_imported: u64Total number of messages imported since daemon started.
started_at: DateTime<Utc>Timestamp when the daemon started.
errors: u64Number of errors encountered.
Trait Implementations§
Source§impl Clone for DaemonStats
impl Clone for DaemonStats
Source§fn clone(&self) -> DaemonStats
fn clone(&self) -> DaemonStats
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 DaemonStats
impl Debug for DaemonStats
Source§impl Default for DaemonStats
impl Default for DaemonStats
Source§impl<'de> Deserialize<'de> for DaemonStats
impl<'de> Deserialize<'de> for DaemonStats
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 DaemonStats
impl RefUnwindSafe for DaemonStats
impl Send for DaemonStats
impl Sync for DaemonStats
impl Unpin for DaemonStats
impl UnwindSafe for DaemonStats
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