Expand description
Buffer for deserializing data.
This is a copy and improvement of the serde private type:
https://github.com/serde-rs/serde/blob/f85c4f2fa99c7f3b103e6e2580e75eb9313b00d0/serde/src/private/de.rs#L195
The code is very stable in the serde crate, so no maintainability problem is expected.
Since the type is private we copy the type here.
serde is licensed as MIT+Apache2, the same as this crate.
This version carries improvements compared to serdeโs version.
The types support 128-bit integers, which is supported for all targets in Rust 1.40+.
A value for is_human_readable is passed through all types, to preserve the information.
In the future this can hopefully be replaced by a public type in serde itself.
https://github.com/serde-rs/serde/pull/2348
Structsยง
- Content
Deserializer ๐ - Content
RefDeserializer - Not public API.
- Content
Visitor ๐ - Enum
Deserializer ๐ - Enum
RefDeserializer ๐ - MapDeserializer ๐
- MapRef
Deserializer ๐ - SeqDeserializer ๐
- SeqRef
Deserializer ๐ - Variant
Deserializer - Variant
RefDeserializer ๐
Enumsยง
- Content ๐
- Used from generated code to buffer the contents of the Deserializer when deserializing untagged enums and internally tagged enums.
Functionsยง
- visit_
content_ ๐map - visit_
content_ ๐map_ ref - visit_
content_ ๐seq - visit_
content_ ๐seq_ ref