Module toml

Source
Expand description

TOML serialization / deserialization with serde.

See crate ::toml.

Modules§

de
Deserializing TOML into Rust structures.
map
A map of String to Value.
ser
Serializing Rust structures into TOML.
value
Definition of a TOML value

Macros§

toml
Construct a Table from TOML syntax.

Structs§

Deserializer
Deserialization for TOML documents.
Serializer
Serialization for TOML documents.
Spanned
A spanned value, indicating the range at which it is defined in the source.

Enums§

Value
Representation of a TOML value.

Functions§

from_slice
Deserializes bytes into a type.
from_str
Deserializes a string into a type.
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.

Type Aliases§

Table
Type representing a TOML table, payload of the Value::Table variant.