Struct serde_reflection::TracerConfig
source · [−]pub struct TracerConfig { /* private fields */ }
Expand description
Configuration object to create a tracer.
Implementations
sourceimpl TracerConfig
impl TracerConfig
sourcepub fn is_human_readable(self, value: bool) -> Self
pub fn is_human_readable(self, value: bool) -> Self
Whether to trace the human readable encoding of (de)serialization.
sourcepub fn record_samples_for_newtype_structs(self, value: bool) -> Self
pub fn record_samples_for_newtype_structs(self, value: bool) -> Self
Record samples of newtype structs during serialization and inject them during deserialization.
sourcepub fn record_samples_for_tuple_structs(self, value: bool) -> Self
pub fn record_samples_for_tuple_structs(self, value: bool) -> Self
Record samples of tuple structs during serialization and inject them during deserialization.
sourcepub fn record_samples_for_structs(self, value: bool) -> Self
pub fn record_samples_for_structs(self, value: bool) -> Self
Record samples of (regular) structs during serialization and inject them during deserialization.
Trait Implementations
sourceimpl Debug for TracerConfig
impl Debug for TracerConfig
sourceimpl Default for TracerConfig
impl Default for TracerConfig
Auto Trait Implementations
impl RefUnwindSafe for TracerConfig
impl Send for TracerConfig
impl Sync for TracerConfig
impl Unpin for TracerConfig
impl UnwindSafe for TracerConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more