Struct noir::Options [] [src]

pub struct Options {
    pub json_compare_depth: usize,
    pub api_request_timeout: Duration,
    pub error_suppress_cascading: bool,
}

Additional configuration options for API requests and responses.

Fields

json_compare_depth

Maximum depth for recursive JSON comparison. Defaults to 4096.

For top level JSON objects their own keys and the types of their values will be at depth 0, the actual values will then be at depth 1.

For top level JSON arrays, their length will be at depth 0 and their items and their types and values will be at level 1.

api_request_timeout

Maximum duration until a HTTP request to a HttpApi does time out. Defaults to 1000ms.

error_suppress_cascading

Whether to hide any further errors which result from expectations that are checked after the first missing or unexpected request to an external resource. Default to true.

Trait Implementations

impl Default for Options
[src]

fn default() -> Options

Returns the "default value" for a type. Read more