Struct opentelemetry::trace::SpanId
source · pub struct SpanId(/* private fields */);
Expand description
An 8-byte value which identifies a given span.
The id is valid if it contains at least one non-zero byte.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for SpanId
impl<'de> Deserialize<'de> for SpanId
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 PartialEq for SpanId
impl PartialEq for SpanId
impl Copy for SpanId
impl Eq for SpanId
impl StructuralEq for SpanId
impl StructuralPartialEq for SpanId
Auto Trait Implementations§
impl RefUnwindSafe for SpanId
impl Send for SpanId
impl Sync for SpanId
impl Unpin for SpanId
impl UnwindSafe for SpanId
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