pub struct ErrorRecord {
pub error_type: ErrorType,
pub context: ErrorContext,
pub timestamp: DateTime<Utc>,
}
Expand description
Record of an error for tracking patterns
Fields§
§error_type: ErrorType
§context: ErrorContext
§timestamp: DateTime<Utc>
Trait Implementations§
Source§impl Clone for ErrorRecord
impl Clone for ErrorRecord
Source§fn clone(&self) -> ErrorRecord
fn clone(&self) -> ErrorRecord
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 ErrorRecord
impl RefUnwindSafe for ErrorRecord
impl Send for ErrorRecord
impl Sync for ErrorRecord
impl Unpin for ErrorRecord
impl UnwindSafe for ErrorRecord
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