pub struct ErrorStats {
pub total_unique_errors: usize,
pub total_occurrences: usize,
pub unresolved_count: usize,
pub with_solutions: usize,
pub avg_occurrences: usize,
}Expand description
Error statistics for monitoring and learning
Fields§
§total_unique_errors: usize§total_occurrences: usize§unresolved_count: usize§with_solutions: usize§avg_occurrences: usizeTrait Implementations§
Source§impl Clone for ErrorStats
impl Clone for ErrorStats
Source§fn clone(&self) -> ErrorStats
fn clone(&self) -> ErrorStats
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 ErrorStats
impl Debug for ErrorStats
Source§impl<'de> Deserialize<'de> for ErrorStats
impl<'de> Deserialize<'de> for ErrorStats
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 ErrorStats
impl RefUnwindSafe for ErrorStats
impl Send for ErrorStats
impl Sync for ErrorStats
impl Unpin for ErrorStats
impl UnwindSafe for ErrorStats
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