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

Method serialize_none

src/ser.rs:350–352  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

348 }
349
350 fn serialize_none(self) -> Result<Bound<'py, PyAny>> {
351 Ok(self.py.None().into_bound(self.py))
352 }
353
354 fn serialize_some<T>(self, value: &T) -> Result<Bound<'py, PyAny>>
355 where

Callers 2

serialize_unitMethod · 0.80
serialize_unit_structMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected