Struct sentry_types::protocol::v7::TraceContext [−][src]
pub struct TraceContext { pub span_id: Uuid, pub trace_id: Uuid, pub parent_span_id: Option<String>, pub op: Option<String>, pub description: Option<String>, pub status: Option<String>, }
Expand description
Holds information about a tracing event.
Fields
span_id: Uuid
The ID of the trace event
trace_id: Uuid
Determines which trace the transaction belongs to.
parent_span_id: Option<String>
Determines the parent of this transaction if any.
op: Option<String>
Short code identifying the type of operation the transaction is measuring.
description: Option<String>
Human readable detail description.
status: Option<String>
Describes the status of the span (e.g. ok
, cancelled
, etc.)
Trait Implementations
Returns the “default value” for a type. Read more
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
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TraceContext
impl Send for TraceContext
impl Sync for TraceContext
impl Unpin for TraceContext
impl UnwindSafe for TraceContext
Blanket Implementations
Mutably borrows from an owned value. Read more