Expand description
Serialization options (Pydantic model_dump equivalents).
siderite composes with Serde instead of replacing it: a value is first
serialized by Serde, then DumpOptions are applied. #[derive(Schema)]
implements Dump for models to add computed fields and field/model
serializers and to recurse into nested models, so nested computed fields
also appear.
Structs§
- Dump
Error - Serialization failure.
- Dump
Options - Options controlling serialization output.
- Dump
Serialize - Borrowed Serde adapter that preserves a value’s
Dumpimplementation. - Field
Set - A tree of field names, for
include/exclude.
Traits§
- Dump
- Output serialization with
DumpOptions(Pydanticmodel_dump).