Skip to main content

print_scalar

Function print_scalar 

Source
pub fn print_scalar(value: impl Serialize + Display) -> Result<()>
Expand description

Prints a scalar value: JSON envelope in --json mode, plain text otherwise.