Struct SpanId
pub struct SpanId(pub u64);
Expand description
An identifier for a span within a trace.
Tuple Fields§
§0: u64
Trait Implementations§
§impl<'de> Deserialize<'de> for SpanId
impl<'de> Deserialize<'de> for SpanId
§fn deserialize<D>(
deserializer: D,
) -> Result<SpanId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<SpanId, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Ord for SpanId
impl Ord for SpanId
§impl PartialOrd for SpanId
impl PartialOrd for SpanId
§impl Serialize for SpanId
impl Serialize for SpanId
§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for SpanId
impl Eq for SpanId
impl StructuralPartialEq for SpanId
Auto Trait Implementations§
impl Freeze for SpanId
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