Module toml::ser

source ·
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

Errors that can occur when serializing a type.
Serialization for TOML documents.
Serialization for TOML values.

Functions

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