pub struct ErrorEvent {
pub context: Option<ErrorContext>,
pub event_time: Option<DateTime<Utc>>,
pub message: Option<String>,
pub service_context: Option<ServiceContext>,
}Expand description
An error event which is returned by the Error Reporting system.
This type is not used in any activity, and only used as part of another schema.
Fields§
§context: Option<ErrorContext>Data about the context in which the error occurred.
event_time: Option<DateTime<Utc>>Time when the event occurred as provided in the error report. If the report did not contain a timestamp, the time the error was received by the Error Reporting system is used.
message: Option<String>The stack trace that was reported or logged by the service.
service_context: Option<ServiceContext>The ServiceContext for which this error was reported.
Trait Implementations§
Source§impl Clone for ErrorEvent
impl Clone for ErrorEvent
Source§fn clone(&self) -> ErrorEvent
fn clone(&self) -> ErrorEvent
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 ErrorEvent
impl Debug for ErrorEvent
Source§impl Default for ErrorEvent
impl Default for ErrorEvent
Source§fn default() -> ErrorEvent
fn default() -> ErrorEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ErrorEvent
impl<'de> Deserialize<'de> for ErrorEvent
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
impl Part for ErrorEvent
Auto Trait Implementations§
impl Freeze for ErrorEvent
impl RefUnwindSafe for ErrorEvent
impl Send for ErrorEvent
impl Sync for ErrorEvent
impl Unpin for ErrorEvent
impl UnsafeUnpin for ErrorEvent
impl UnwindSafe for ErrorEvent
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