pub struct ErrorSummary {
pub total_errors: u64,
pub error_rate: f64,
pub error_types: HashMap<String, u64>,
pub most_common_error: Option<String>,
}
Expand description
Error summary
Fields§
§total_errors: u64
Total errors
error_rate: f64
Error rate as percentage
error_types: HashMap<String, u64>
Breakdown by error type
most_common_error: Option<String>
Most common error
Trait Implementations§
Source§impl Clone for ErrorSummary
impl Clone for ErrorSummary
Source§fn clone(&self) -> ErrorSummary
fn clone(&self) -> ErrorSummary
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 ErrorSummary
impl Debug for ErrorSummary
Source§impl<'de> Deserialize<'de> for ErrorSummary
impl<'de> Deserialize<'de> for ErrorSummary
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 ErrorSummary
impl RefUnwindSafe for ErrorSummary
impl Send for ErrorSummary
impl Sync for ErrorSummary
impl Unpin for ErrorSummary
impl UnwindSafe for ErrorSummary
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