Struct serialize::json::AsPrettyJson [−][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?
Fields
inner: &'a T
🔬 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?
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?
Methods
impl<'a, T> AsPrettyJson<'a, T>
[src]
impl<'a, T> AsPrettyJson<'a, T>
pub fn indent(self, indent: usize) -> AsPrettyJson<'a, T>
[src]
pub fn indent(self, indent: usize) -> AsPrettyJson<'a, T>
🔬 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]
impl<'a, T: Encodable> Display for AsPrettyJson<'a, T>
Auto Trait Implementations
impl<'a, T> Send for AsPrettyJson<'a, T> where
T: Sync,
impl<'a, T> Send for AsPrettyJson<'a, T> where
T: Sync,
impl<'a, T> Sync for AsPrettyJson<'a, T> where
T: Sync,
impl<'a, T> Sync for AsPrettyJson<'a, T> where
T: Sync,