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

Method deserialize_str

src/de.rs:209–215  ·  view source on GitHub ↗
(self, visitor: V)

Source from the content-addressed store, hash-verified

207 deserialize_type!(deserialize_f64 => visit_f64);
208
209 fn deserialize_str<V>(self, visitor: V) -> Result<V::Value>
210 where
211 V: de::Visitor<'de>,
212 {
213 let s = self.input.cast::<PyString>()?;
214 visitor.visit_str(&s.to_cow()?)
215 }
216
217 fn deserialize_string<V>(self, visitor: V) -> Result<V::Value>
218 where

Callers 2

deserialize_anyMethod · 0.80
deserialize_stringMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected