pub struct SpanEvent<T: TraceData> {
pub time_unix_nano: u64,
pub name: T::Text,
pub attributes: HashMap<T::Text, AttributeAnyValue<T>>,
}Expand description
The generic representation of a V04 span event.
T is the type used to represent strings in the span event.
Fields§
§time_unix_nano: u64§name: T::Text§attributes: HashMap<T::Text, AttributeAnyValue<T>>Trait Implementations§
impl<T: TraceData> StructuralPartialEq for SpanEvent<T>
Auto Trait Implementations§
impl<T> Freeze for SpanEvent<T>
impl<T> RefUnwindSafe for SpanEvent<T>
impl<T> Send for SpanEvent<T>
impl<T> Sync for SpanEvent<T>
impl<T> Unpin for SpanEvent<T>
impl<T> UnsafeUnpin for SpanEvent<T>
impl<T> UnwindSafe for SpanEvent<T>
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