[][src]Struct sentry_core::protocol::TraceContext

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>,
}

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

impl Clone for TraceContext[src]

impl Debug for TraceContext[src]

impl Default for TraceContext[src]

impl<'de> Deserialize<'de> for TraceContext[src]

impl From<TraceContext> for Context[src]

impl PartialEq<TraceContext> for TraceContext[src]

impl Serialize for TraceContext[src]

impl StructuralPartialEq for TraceContext[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,