format

Function format 

Source
pub fn format<T: Serialize>(data: &T) -> Result<String>
Expand description

Format data as plain text.

Uses JSON representation but without colors or fancy formatting. Suitable for piping to other commands or scripts.