pub struct SpanAddEventMessage<'a> {
pub trace_id: TraceId,
pub span_id: SpanId,
pub name: StringType<'a>,
pub time_unix_nano: u64,
pub attributes: AttributeListType<'a>,
}Expand description
Message indicating an event has been added to a span.
Fields§
§trace_id: TraceIdThe trace this span belongs to
span_id: SpanIdThe span the event is being added to
name: StringType<'a>The name of the event
time_unix_nano: u64Timestamp when the event occurred
attributes: AttributeListType<'a>Attributes providing additional context for the event
Trait Implementations§
Source§impl<'a> Clone for SpanAddEventMessage<'a>
impl<'a> Clone for SpanAddEventMessage<'a>
Source§fn clone(&self) -> SpanAddEventMessage<'a>
fn clone(&self) -> SpanAddEventMessage<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for SpanAddEventMessage<'a>
impl<'a> Debug for SpanAddEventMessage<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for SpanAddEventMessage<'a>
impl<'de: 'a, 'a> Deserialize<'de> for SpanAddEventMessage<'a>
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
Source§impl<'a> Serialize for SpanAddEventMessage<'a>
impl<'a> Serialize for SpanAddEventMessage<'a>
Source§impl ToStatic for SpanAddEventMessage<'_>
Available on crate feature alloc only.
impl ToStatic for SpanAddEventMessage<'_>
Available on crate feature
alloc only.Auto Trait Implementations§
impl<'a> Freeze for SpanAddEventMessage<'a>
impl<'a> RefUnwindSafe for SpanAddEventMessage<'a>
impl<'a> Send for SpanAddEventMessage<'a>
impl<'a> Sync for SpanAddEventMessage<'a>
impl<'a> Unpin for SpanAddEventMessage<'a>
impl<'a> UnwindSafe for SpanAddEventMessage<'a>
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