Struct serialize::json::AsPrettyJson[][src]

pub struct AsPrettyJson<'a, T: 'a> {
    inner: &'a T,
    indent: Option<usize>,
}
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Fields

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Methods

impl<'a, T> AsPrettyJson<'a, T>
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Set the indentation level for the emitted JSON

Trait Implementations

impl<'a, T: Encodable> Display for AsPrettyJson<'a, T>
[src]

Encodes a json value into a string

Auto Trait Implementations

impl<'a, T> Send for AsPrettyJson<'a, T> where
    T: Sync

impl<'a, T> Sync for AsPrettyJson<'a, T> where
    T: Sync