Module grafix_toolbox::uses::serde_impl[][src]

Modules

Generic data structure deserialization framework.

Generic data structure serialization framework.

Building blocks for deserializing basic values using the IntoDeserializer trait.

Macros

Helper macro when implementing the Deserializer part of a new data format for Serde.

Conditional compilation depending on whether Serde is built with support for 128-bit integers.

Structs

Configuration for formatting.

An efficient way of discarding data from a deserializer.

Helper type for implementing a Serializer that does not support serializing one of the compound types.

Enums

Unexpected represents an unexpected invocation of any one of the Visitor trait methods.

Traits

A data structure that can be deserialized from any data format supported by Serde.

A data structure that can be deserialized without borrowing any data from the deserializer.

DeserializeSeed is the stateful form of the Deserialize trait. If you ever find yourself looking for a way to pass data into a Deserialize impl, this trait is the way to do it.

A data format that can deserialize any data structure supported by Serde.

Provides a Visitor access to the data of an enum in the input.

The Error trait allows Deserialize implementations to create descriptive error messages belonging to the Deserializer against which they are currently running.

Trait used by Serialize implementations to generically construct errors belonging to the Serializer against which they are currently running.

Expected represents an explanation of what data a Visitor was expecting to receive.

Converts an existing value into a Deserializer from which other values can be deserialized.

Provides a Visitor access to each entry of a map in the input.

Provides a Visitor access to each element of a sequence in the input.

A data structure that can be serialized into any data format supported by Serde.

Returned from Serializer::serialize_map.

Returned from Serializer::serialize_seq.

Returned from Serializer::serialize_struct.

Returned from Serializer::serialize_struct_variant.

Returned from Serializer::serialize_tuple.

Returned from Serializer::serialize_tuple_struct.

Returned from Serializer::serialize_tuple_variant.

A data format that can serialize any data structure supported by Serde.

Error is a trait representing the basic expectations for error values, i.e., values of type E in Result<T, E>.

VariantAccess is a visitor that is created by the Deserializer and passed to the Deserialize to deserialize the content of a particular enum variant.

This trait represents a visitor that walks through a deserializer.

Type Definitions

The type returned by formatter methods.

Derive Macros