pub struct DatadogContext {
pub trace_id: u128,
pub parent_id: u64,
}Expand description
The trace context for distributed tracing. This is a subset of the W3C trace context which allows stitching together traces with spans from different services.
It maps to tracing::Span via TracingContextExt, and to other types via
TraceContextExt.
Fields§
§trace_id: u128§parent_id: u64Trait Implementations§
Source§impl Clone for DatadogContext
impl Clone for DatadogContext
Source§fn clone(&self) -> DatadogContext
fn clone(&self) -> DatadogContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for DatadogContext
impl Default for DatadogContext
Source§fn default() -> DatadogContext
fn default() -> DatadogContext
Returns the “default value” for a type. Read more
impl Copy for DatadogContext
Auto Trait Implementations§
impl Freeze for DatadogContext
impl RefUnwindSafe for DatadogContext
impl Send for DatadogContext
impl Sync for DatadogContext
impl Unpin for DatadogContext
impl UnwindSafe for DatadogContext
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