MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / Deserializer

Class Deserializer

src/serde/de.rs:29–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29struct Deserializer<'gil> {
30 py: Python<'gil>,
31 obj: PyObject,
32
33 /// Iterator of `obj`. Constructed on demand.
34 obj_iter: Option<PyIterator<'gil>>,
35
36 /// Used by `MapAccess`. The `iter` produces `(key, value)` at a time, the
37 /// `value` is temporarily stored here for `MapAccess::next_value_seed` to
38 /// pick up.
39 pending_value: Option<PyObject>,
40}
41
42impl<'gil> Deserializer<'gil> {
43 /// Constructs from

Callers

nothing calls this directly

Implementers 1

de.rssrc/serde/de.rs

Calls

no outgoing calls

Tested by

no test coverage detected