pub struct TraceParent {
pub trace_id: [u8; 16],
pub parent_id: [u8; 8],
pub sampled: bool,
}Expand description
A parsed W3C traceparent (version 00 layout; a later version is read
by its first four fields, as the W3C specification requires).
Fields§
§trace_id: [u8; 16]§parent_id: [u8; 8]§sampled: boolTrait Implementations§
Source§impl Clone for TraceParent
impl Clone for TraceParent
impl Copy for TraceParent
Source§impl Debug for TraceParent
impl Debug for TraceParent
impl Eq for TraceParent
Source§impl PartialEq for TraceParent
impl PartialEq for TraceParent
impl StructuralPartialEq for TraceParent
Auto Trait Implementations§
impl Freeze for TraceParent
impl RefUnwindSafe for TraceParent
impl Send for TraceParent
impl Sync for TraceParent
impl Unpin for TraceParent
impl UnsafeUnpin for TraceParent
impl UnwindSafe for TraceParent
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