pub struct Span {
pub span_id: u64,
pub parent_id: Option<u64>,
pub kind: SpanKind,
pub name: String,
pub start_ms: u64,
pub duration_ms: u64,
pub metadata: BTreeMap<String, Value>,
}Expand description
A completed tracing span.
Fields§
§span_id: u64§parent_id: Option<u64>§kind: SpanKind§name: String§start_ms: u64§duration_ms: u64§metadata: BTreeMap<String, Value>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Span
impl RefUnwindSafe for Span
impl Send for Span
impl Sync for Span
impl Unpin for Span
impl UnsafeUnpin for Span
impl UnwindSafe for Span
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