pub struct SpanEvent {
pub name: String,
pub timestamp: Instant,
pub attributes: HashMap<String, String>,
}Expand description
Span event
Fields§
§name: StringEvent name
timestamp: InstantEvent timestamp
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