MCPcopy Index your code
hub / github.com/davidhewitt/pythonize / struct_variant

Method struct_variant

src/de.rs:620–625  ·  view source on GitHub ↗
(self, _fields: &'static [&'static str], visitor: V)

Source from the content-addressed store, hash-verified

618 }
619
620 fn struct_variant<V>(self, _fields: &'static [&'static str], visitor: V) -> Result<V::Value>
621 where
622 V: de::Visitor<'de>,
623 {
624 visitor.visit_map(self.de.dict_access()?)
625 }
626}
627
628// See serde_json

Callers

nothing calls this directly

Calls 1

dict_accessMethod · 0.80

Tested by

no test coverage detected