pub struct SpanLink<T: TraceData> {
pub trace_id: u64,
pub trace_id_high: u64,
pub span_id: u64,
pub attributes: HashMap<T::Text, T::Text>,
pub tracestate: T::Text,
pub flags: u32,
}Expand description
The generic representation of a V04 span link.
T is the type used to represent strings in the span link.
Fields§
§trace_id: u64§trace_id_high: u64§span_id: u64§attributes: HashMap<T::Text, T::Text>§tracestate: T::Text§flags: u32Trait Implementations§
impl<T: TraceData> StructuralPartialEq for SpanLink<T>
Auto Trait Implementations§
impl<T> Freeze for SpanLink<T>
impl<T> RefUnwindSafe for SpanLink<T>
impl<T> Send for SpanLink<T>
impl<T> Sync for SpanLink<T>
impl<T> Unpin for SpanLink<T>
impl<T> UnsafeUnpin for SpanLink<T>
impl<T> UnwindSafe for SpanLink<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