Struct tracing::field::DisplayValue
source · pub struct DisplayValue<T>(_)
where
T: Display;
Expand description
A Value
which serializes using fmt::Display
.
Uses record_debug
in the Value
implementation to
avoid an unnecessary evaluation.
Trait Implementations§
source§impl<T> Clone for DisplayValue<T>where
T: Clone + Display,
impl<T> Clone for DisplayValue<T>where
T: Clone + Display,
source§fn clone(&self) -> DisplayValue<T>
fn clone(&self) -> DisplayValue<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 more