pub struct Event {
pub error_type: String,
pub message: String,
pub source: Option<String>,
pub route_or_procedure: Option<String>,
pub screen: Option<String>,
pub stack: Option<String>,
pub http_status: Option<u16>,
pub request_id: Option<String>,
pub user_id_hash: Option<String>,
pub metadata: Option<Value>,
}Expand description
User-facing error event to capture.
Fields§
§error_type: String§message: String§source: Option<String>§route_or_procedure: Option<String>§screen: Option<String>§stack: Option<String>§http_status: Option<u16>§request_id: Option<String>§user_id_hash: Option<String>§metadata: Option<Value>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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