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

Method serialize_unit_struct

src/ser.rs:365–367  ·  view source on GitHub ↗
(self, _name: &'static str)

Source from the content-addressed store, hash-verified

363 }
364
365 fn serialize_unit_struct(self, _name: &'static str) -> Result<Bound<'py, PyAny>> {
366 self.serialize_none()
367 }
368
369 fn serialize_unit_variant(
370 self,

Callers

nothing calls this directly

Calls 1

serialize_noneMethod · 0.80

Tested by

no test coverage detected