Module anterofit::serialize[][src]

Types used to serialize and deserialize request and response bodies, respectively.

Note

If you get an error about duplicate types or items in this module, make sure you don't have both the rustc-serialize and serde features enabled.

Modules

json

Integration with the serde_json crate providing JSON serialization.

none

No-op serializers which return errors when invoked.

Structs

FromStrDeserializer

A deserializer which attempts to parse values from the response as a string.

PairMap

A simple series of key-value pairs that can be serialized as a map.

Traits

Deserialize

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

Deserializer

A trait describing types which can concurrently deserialize other types from byte-streams.

Serialize

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

Serializer

A trait describing types which can concurrently serialize other types into byte-streams.