Function toml::ser::to_string_pretty [−][src]
pub fn to_string_pretty<T: ?Sized>(value: &T) -> Result<String, Error> where
T: Serialize,
Expand description
Serialize the given data structure as a “pretty” String of TOML.
This is identical to to_string
except the output string has a more
“pretty” output. See Serializer::pretty
for more details.