Struct opentelemetry::sdk::trace::SamplingResult [−][src]
pub struct SamplingResult { pub decision: SamplingDecision, pub attributes: Vec<KeyValue>, pub trace_state: TraceState, }
This is supported on crate feature
trace
only.Expand description
The result of sampling logic for a given Span
.
Fields
decision: SamplingDecision
SamplingDecision
reached by this result
attributes: Vec<KeyValue>
Extra attributes added by this result
trace_state: TraceState
Trace state from parent context, might be modified by sampler
Trait Implementations
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 SamplingResult
impl Send for SamplingResult
impl Sync for SamplingResult
impl Unpin for SamplingResult
impl UnwindSafe for SamplingResult
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V