Module serde::de [] [src]

Generic deserialization framework.

Modules

impls

This module contains Deserialize and Visitor implementations.

value

This module supports deserializing from primitives with the ValueDeserializer trait.

Enums

Type

Type represents all the primitive types that can be deserialized. This is used by Error::kind_mismatch.

Traits

Deserialize

Deserialize represents a type that can be deserialized.

Deserializer

Deserializer is a trait that can deserialize values by threading a Visitor trait through a value. It supports two entry point styles which enables different kinds of deserialization.

EnumVisitor

EnumVisitor is a visitor that is created by the Deserialize and passed to the Deserializer in order to deserialize enums.

Error

Error is a trait that allows a Deserialize to generically create a Deserializer error.

MapVisitor

MapVisitor visits each item in a sequence.

SeqVisitor

SeqVisitor visits each item in a sequence.

VariantVisitor

VariantVisitor is a visitor that is created by the Deserializer and passed to the Deserialize in order to deserialize a specific enum variant.

Visitor

This trait represents a visitor that walks through a deserializer.