Struct metrix::snapshot::JsonConfig [] [src]

pub struct JsonConfig {
    pub make_booleans_ints: bool,
    pub pretty: Option<u16>,
}

Fields

Serialize true as 1 and false as 0

Configure pretty JSON output.

Produce pretty JSON with the given indentation if Some(indentation). If None compact JSON is generated.

Trait Implementations

impl Default for JsonConfig
[src]

[src]

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