pub struct LogStatistics {
pub total_entries: u64,
pub error_count: u64,
pub warn_count: u64,
pub info_count: u64,
pub debug_count: u64,
pub trace_count: u64,
pub unique_correlation_count: u64,
pub operations: HashMap<String, u64>,
pub unique_correlations: HashSet<String>,
}Expand description
Statistics about collected logs
Fields§
§total_entries: u64§error_count: u64§warn_count: u64§info_count: u64§debug_count: u64§trace_count: u64§unique_correlation_count: u64§operations: HashMap<String, u64>§unique_correlations: HashSet<String>Trait 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 Default for LogStatistics
impl Default for LogStatistics
Source§fn default() -> LogStatistics
fn default() -> LogStatistics
Returns the “default value” for a type. Read more
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more