pub struct SpanEvent {
pub name: String,
pub timestamp_ns: u64,
pub attributes: HashMap<String, String>,
}Expand description
Span event (checkpoint within a span).
Fields§
§name: StringEvent name
timestamp_ns: u64Timestamp (nanoseconds since epoch)
attributes: HashMap<String, String>Event attributes
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 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