pub struct ErrorMetric {
pub error_type: String,
pub error_message: String,
pub timestamp: Instant,
pub count: u64,
}
Expand description
Error metrics for tracking validation and processing errors
Fields§
§error_type: String
§error_message: String
§timestamp: Instant
§count: u64
Trait Implementations§
Source§impl Clone for ErrorMetric
impl Clone for ErrorMetric
Source§fn clone(&self) -> ErrorMetric
fn clone(&self) -> ErrorMetric
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 moreAuto Trait Implementations§
impl Freeze for ErrorMetric
impl RefUnwindSafe for ErrorMetric
impl Send for ErrorMetric
impl Sync for ErrorMetric
impl Unpin for ErrorMetric
impl UnwindSafe for ErrorMetric
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