pub struct ErrorPattern {
pub error_type: ErrorType,
pub count: u32,
pub first_occurrence: DateTime<Utc>,
pub last_occurrence: DateTime<Utc>,
pub frequency: f64,
pub suggested_action: SuggestedAction,
pub recovery_attempts: u32,
pub successful_recoveries: u32,
}
Expand description
Error pattern analysis for intelligent recovery
Fields§
§error_type: ErrorType
§count: u32
§first_occurrence: DateTime<Utc>
§last_occurrence: DateTime<Utc>
§frequency: f64
§suggested_action: SuggestedAction
§recovery_attempts: u32
§successful_recoveries: u32
Trait Implementations§
Source§impl Clone for ErrorPattern
impl Clone for ErrorPattern
Source§fn clone(&self) -> ErrorPattern
fn clone(&self) -> ErrorPattern
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 ErrorPattern
impl Debug for ErrorPattern
Source§impl<'de> Deserialize<'de> for ErrorPattern
impl<'de> Deserialize<'de> for ErrorPattern
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 ErrorPattern
impl RefUnwindSafe for ErrorPattern
impl Send for ErrorPattern
impl Sync for ErrorPattern
impl Unpin for ErrorPattern
impl UnwindSafe for ErrorPattern
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