Struct json::decoder::Config [] [src]

pub struct Config {
    pub max_nesting: usize,
}

Decoder configuration.

Fields

max_nesting: usize

Maximum recursion steps when decoding generic Json

Methods

impl Config
[src]

fn default() -> Config

Create default configuration with - max_nesting = 16

Trait Implementations

impl Eq for Config
[src]

impl PartialEq for Config
[src]

fn eq(&self, __arg_0: &Config) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Config) -> bool

This method tests for !=.

impl Debug for Config
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Config
[src]

fn clone(&self) -> Config

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more