Skip to main content

Module dump

Module dump 

Source
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§

DumpError
Serialization failure.
DumpOptions
Options controlling serialization output.
DumpSerialize
Borrowed Serde adapter that preserves a value’s Dump implementation.
FieldSet
A tree of field names, for include / exclude.

Traits§

Dump
Output serialization with DumpOptions (Pydantic model_dump).