Module ser

Module ser 

Source
Available on crate feature serde only.
Expand description

Serializing Rust structures into TOML.

This module contains all the Serde support for serializing Rust structures into TOML documents (as strings). Note that some top-level functions here are also provided at the top of the crate.

Structs§

Bufferdisplay
TOML Document serialization buffer
Error
Errors that can occur when serializing a type.
Serializerdisplay
Serialization for TOML documents.
ValueSerializerdisplay
Serialization for TOML values.

Functions§

to_stringdisplay
Serialize the given data structure as a String of TOML.
to_string_prettydisplay
Serialize the given data structure as a “pretty” String of TOML.