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§
- Buffer
display
- TOML Document serialization buffer
- Error
- Errors that can occur when serializing a type.
- Serializer
display
- Serialization for TOML documents.
- Value
Serializer display
- Serialization for TOML values.
Functions§
- to_
string display
- Serialize the given data structure as a String of TOML.
- to_
string_ pretty display
- Serialize the given data structure as a “pretty” String of TOML.