pub struct LogStatistics {
pub total_entries: usize,
pub info_count: usize,
pub warning_count: usize,
pub security_event_count: usize,
pub critical_count: usize,
pub audit_count: usize,
}Expand description
Statistics about log entries
Fields§
§total_entries: usize§info_count: usize§warning_count: usize§security_event_count: usize§critical_count: usize§audit_count: usizeTrait Implementations§
Source§impl Clone for LogStatistics
impl Clone for LogStatistics
Source§fn clone(&self) -> LogStatistics
fn clone(&self) -> LogStatistics
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 LogStatistics
impl Debug for LogStatistics
Source§impl<'de> Deserialize<'de> for LogStatistics
impl<'de> Deserialize<'de> for LogStatistics
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 LogStatistics
impl RefUnwindSafe for LogStatistics
impl Send for LogStatistics
impl Sync for LogStatistics
impl Unpin for LogStatistics
impl UnwindSafe for LogStatistics
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