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

Method serialize_some

src/ser.rs:354–359  ·  view source on GitHub ↗
(self, value: &T)

Source from the content-addressed store, hash-verified

352 }
353
354 fn serialize_some<T>(self, value: &T) -> Result<Bound<'py, PyAny>>
355 where
356 T: ?Sized + Serialize,
357 {
358 value.serialize(self)
359 }
360
361 fn serialize_unit(self) -> Result<Bound<'py, PyAny>> {
362 self.serialize_none()

Callers

nothing calls this directly

Calls 1

serializeMethod · 0.80

Tested by

no test coverage detected