Module 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§

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

Functions§

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