Struct tracing_core::field::DebugValue
source · pub struct DebugValue<T: Debug>(T);
Expand description
A Value
which serializes as a string using fmt::Debug
.
Tuple Fields§
§0: T
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>
source§impl<T> Value for DebugValue<T>where
T: Debug,
impl<T> Value for DebugValue<T>where
T: Debug,
impl<T: Debug> Sealed 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