pub struct ErrorEncounter {
pub error_type: String,
pub message: String,
pub timestamp: String,
pub count: usize,
}Expand description
Error encounter
Fields§
§error_type: StringError type (e.g., “500”, “timeout”, “validation_error”)
message: StringError message
timestamp: StringTimestamp
count: usizeNumber of times encountered
Trait Implementations§
Source§impl Clone for ErrorEncounter
impl Clone for ErrorEncounter
Source§fn clone(&self) -> ErrorEncounter
fn clone(&self) -> ErrorEncounter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ErrorEncounter
impl Debug for ErrorEncounter
Source§impl<'de> Deserialize<'de> for ErrorEncounter
impl<'de> Deserialize<'de> for ErrorEncounter
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ErrorEncounter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ErrorEncounter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ErrorEncounter
impl Serialize for ErrorEncounter
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ErrorEncounter
impl RefUnwindSafe for ErrorEncounter
impl Send for ErrorEncounter
impl Sync for ErrorEncounter
impl Unpin for ErrorEncounter
impl UnsafeUnpin for ErrorEncounter
impl UnwindSafe for ErrorEncounter
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