pub struct SpanLink {
pub trace_id: TraceId,
pub span_id: SpanId,
pub attributes: HashMap<String, AttributeValue>,
}Expand description
A link to another span (e.g., for batched operations)
Fields§
§trace_id: TraceIdTrace ID of the linked span
span_id: SpanIdSpan ID of the linked span
attributes: HashMap<String, AttributeValue>Optional attributes describing the relationship
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpanLink
impl<'de> Deserialize<'de> for SpanLink
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 SpanLink
impl RefUnwindSafe for SpanLink
impl Send for SpanLink
impl Sync for SpanLink
impl Unpin for SpanLink
impl UnsafeUnpin for SpanLink
impl UnwindSafe for SpanLink
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