pub struct SpanEvent {
pub span_id: u64,
pub parent_id: Option<u64>,
pub name: String,
pub kind: String,
pub metadata: BTreeMap<String, Value>,
}Expand description
A structured span event (start or end).
Fields§
§span_id: u64§parent_id: Option<u64>§name: String§kind: String§metadata: BTreeMap<String, Value>Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpanEvent
impl RefUnwindSafe for SpanEvent
impl Send for SpanEvent
impl Sync for SpanEvent
impl Unpin for SpanEvent
impl UnsafeUnpin for SpanEvent
impl UnwindSafe for SpanEvent
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