Struct tracing_core::field::DisplayValue
source · pub struct DisplayValue<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 + Display> Clone for DisplayValue<T>
impl<T: Clone + Display> Clone for DisplayValue<T>
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