pub struct ErrorStatistics {
pub total_errors: u32,
pub unique_error_types: usize,
pub most_common_error: Option<ErrorType>,
pub patterns: HashMap<ErrorType, ErrorPattern>,
}
Expand description
Error statistics for monitoring and analysis
Fields§
§total_errors: u32
§unique_error_types: usize
§most_common_error: Option<ErrorType>
§patterns: HashMap<ErrorType, ErrorPattern>
Trait Implementations§
Source§impl Clone for ErrorStatistics
impl Clone for ErrorStatistics
Source§fn clone(&self) -> ErrorStatistics
fn clone(&self) -> ErrorStatistics
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 ErrorStatistics
impl Debug for ErrorStatistics
Source§impl<'de> Deserialize<'de> for ErrorStatistics
impl<'de> Deserialize<'de> for ErrorStatistics
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 ErrorStatistics
impl RefUnwindSafe for ErrorStatistics
impl Send for ErrorStatistics
impl Sync for ErrorStatistics
impl Unpin for ErrorStatistics
impl UnwindSafe for ErrorStatistics
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