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§

Functions§

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