[][src]Struct serde_reflection::TracerConfig

pub struct TracerConfig { /* fields omitted */ }

Configuration object to create a tracer.

Implementations

impl TracerConfig[src]

pub fn is_human_readable(self, value: bool) -> Self[src]

Whether to trace the human readable encoding of (de)serialization.

pub fn record_samples_for_newtype_structs(self, value: bool) -> Self[src]

Record samples of newtype structs during serialization and inject them during deserialization.

pub fn record_samples_for_tuple_structs(self, value: bool) -> Self[src]

Record samples of tuple structs during serialization and inject them during deserialization.

pub fn record_samples_for_structs(self, value: bool) -> Self[src]

Record samples of (regular) structs during serialization and inject them during deserialization.

Trait Implementations

impl Debug for TracerConfig[src]

impl Default for TracerConfig[src]

fn default() -> Self[src]

Create a new structure to hold value samples.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.