pub type SpanSetAttributeMessage = SpanSetAttributeMessage<'static, Owned>;Expand description
Span set attribute message with owned values (Send-safe, for IPC).
Aliased Type§
pub struct SpanSetAttributeMessage {
pub span_id: Option<SpanId>,
pub attribute: KeyValue<'static, Owned>,
}Fields§
§span_id: Option<SpanId>The span the attribute is being set on, if None then this applies to the “current span”
as determined by tracking SpanEnterMessage and SpanExitMessage pairs.
attribute: KeyValue<'static, Owned>The attribute being set.
Trait Implementations§
Source§impl From<SpanSetAttributeMessage<'_, Transient>> for SpanSetAttributeMessage
impl From<SpanSetAttributeMessage<'_, Transient>> for SpanSetAttributeMessage
Source§fn from(value: SpanSetAttributeMessage<'_>) -> Self
fn from(value: SpanSetAttributeMessage<'_>) -> Self
Converts to this type from the input type.