pub struct SpanEvent {
pub id: Uuid,
pub timestamp: DateTime<Utc>,
pub event_type: String,
pub description: String,
pub data: HashMap<String, String>,
}Expand description
An event that occurred during a span.
Fields§
§id: UuidUnique identifier for the event.
timestamp: DateTime<Utc>When the event occurred.
event_type: StringType of event (e.g., “token_received”, “security_scan_completed”, “error_occurred”).
description: StringHuman-readable description.
data: HashMap<String, String>Event-specific data.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpanEvent
impl<'de> Deserialize<'de> for SpanEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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