pub struct Event {Show 15 fields
pub exception_class: String,
pub message: String,
pub backtrace: Vec<Frame>,
pub occurred_at: String,
pub environment: String,
pub release: Option<String>,
pub server_name: Option<String>,
pub context: HashMap<String, Value>,
pub tags: HashMap<String, Value>,
pub sdk_name: String,
pub user: Option<HashMap<String, Value>>,
pub breadcrumbs: Vec<Breadcrumb>,
pub sql_objects: Option<SqlObjects>,
pub sql_statement: Option<String>,
pub trace_id: Option<String>,
}Fields§
§exception_class: String§message: String§backtrace: Vec<Frame>§occurred_at: String§environment: String§release: Option<String>§server_name: Option<String>§context: HashMap<String, Value>§sdk_name: String§user: Option<HashMap<String, Value>>§sql_objects: Option<SqlObjects>Procedure/function and table/view names the failing SQL touched, and (opt-in) the statement
itself with every string and number masked; see sql_statement.rs. Both omitted from the wire
entirely when None.
sql_statement: Option<String>§trace_id: Option<String>The id of the trace open on the reporting thread (see trace/continue_trace), linking
this error to that trace’s spans and, through traceparent, to errors in the other services
it touched. Omitted from the wire entirely when None. A structured id, never scrubbed.
Implementations§
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 UnsafeUnpin 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