Type Alias SpanCreateMessage
pub type SpanCreateMessage = SpanCreateMessage<'static, Owned>;Available on crate feature
alloc only.Expand description
Span create message with owned values (Send-safe, for IPC).
Aliased Type§
pub struct SpanCreateMessage {
pub span_id: SpanId,
pub name: String,
pub start_time_unix_nano: u64,
pub attributes: Vec<KeyValue<'static, Owned>>,
}Fields§
§span_id: SpanIdThe unique identifier (within the associated process) for this span.
name: StringThe name of the span.
start_time_unix_nano: u64Timestamp when the span was started.
attributes: Vec<KeyValue<'static, Owned>>Initial attributes attached to the span.