Struct tracing_core::field::DebugValue
source · pub struct DebugValue<T: Debug>(/* private fields */);
Expand description
A Value
which serializes as a string using fmt::Debug
.
Trait Implementations§
source§impl<T: Clone + Debug> Clone for DebugValue<T>
impl<T: Clone + Debug> Clone for DebugValue<T>
source§fn clone(&self) -> DebugValue<T>
fn clone(&self) -> DebugValue<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug> Debug for DebugValue<T>
impl<T: Debug> Debug for DebugValue<T>
Auto Trait Implementations§
impl<T> Freeze for DebugValue<T>where
T: Freeze,
impl<T> RefUnwindSafe for DebugValue<T>where
T: RefUnwindSafe,
impl<T> Send for DebugValue<T>where
T: Send,
impl<T> Sync for DebugValue<T>where
T: Sync,
impl<T> Unpin for DebugValue<T>where
T: Unpin,
impl<T> UnwindSafe for DebugValue<T>where
T: UnwindSafe,
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