Module value

Source
Expand description

The Value enum, a loosely typed way of representing any valid YAML value.

Structs§

Mapping
A YAML mapping in which the keys and values are both serde_yaml::Value.
Number
Represents a YAML number, whether integer or floating point.
Serializer
Serializer whose output is a Value.
Tag
A representation of YAML’s !Tag syntax, used for enums.
TaggedValue
A Tag + Value representing a tagged YAML scalar, sequence, or mapping.

Enums§

Value
Represents any valid YAML value.

Traits§

Index
A type that can be used to index into a serde_yaml::Value. See the get and get_mut methods of Value.

Functions§

from_value
Interpret a serde_yaml::Value as an instance of type T.
to_value
Convert a T into serde_yaml::Value which is an enum that can represent any valid YAML data.

Type Aliases§

Sequence
A YAML sequence in which the elements are serde_yaml::Value.