pub struct ContextSnapshot {
pub fields: BTreeMap<String, Value>,
pub session_id: Option<String>,
pub trace_id: Option<String>,
pub span_id: Option<String>,
}Fields§
§fields: BTreeMap<String, Value>§session_id: Option<String>§trace_id: Option<String>§span_id: Option<String>Trait Implementations§
Source§impl Clone for ContextSnapshot
impl Clone for ContextSnapshot
Source§fn clone(&self) -> ContextSnapshot
fn clone(&self) -> ContextSnapshot
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 ContextSnapshot
impl Debug for ContextSnapshot
Source§impl Default for ContextSnapshot
impl Default for ContextSnapshot
Source§fn default() -> ContextSnapshot
fn default() -> ContextSnapshot
Returns the “default value” for a type. Read more
Source§impl PartialEq for ContextSnapshot
impl PartialEq for ContextSnapshot
impl StructuralPartialEq for ContextSnapshot
Auto Trait Implementations§
impl Freeze for ContextSnapshot
impl RefUnwindSafe for ContextSnapshot
impl Send for ContextSnapshot
impl Sync for ContextSnapshot
impl Unpin for ContextSnapshot
impl UnsafeUnpin for ContextSnapshot
impl UnwindSafe for ContextSnapshot
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