pub struct W3cTraceContext {
pub traceparent: Option<String>,
pub tracestate: Option<String>,
}Expand description
W3cTraceContext
JSON schema
{
"type": "object",
"properties": {
"traceparent": {
"type": [
"string",
"null"
]
},
"tracestate": {
"type": [
"string",
"null"
]
}
}
}Fields§
§traceparent: Option<String>§tracestate: Option<String>Trait Implementations§
Source§impl Clone for W3cTraceContext
impl Clone for W3cTraceContext
Source§fn clone(&self) -> W3cTraceContext
fn clone(&self) -> W3cTraceContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for W3cTraceContext
impl Debug for W3cTraceContext
Source§impl Default for W3cTraceContext
impl Default for W3cTraceContext
Source§impl<'de> Deserialize<'de> for W3cTraceContext
impl<'de> Deserialize<'de> for W3cTraceContext
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 W3cTraceContext
impl RefUnwindSafe for W3cTraceContext
impl Send for W3cTraceContext
impl Sync for W3cTraceContext
impl Unpin for W3cTraceContext
impl UnsafeUnpin for W3cTraceContext
impl UnwindSafe for W3cTraceContext
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