Skip to main content

PrettyJson

Trait PrettyJson 

Source
pub trait PrettyJson {
    // Required method
    fn to_pretty_json(&self) -> Result<String>;
}
Expand description

Trait for canonical pretty-printing of CMN protocol types.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§