Expand description
DTO conversion traits for TeaLeaf documents
This module provides the ToTeaLeaf and FromTeaLeaf traits for converting
between Rust types and TeaLeaf Values, along with automatic schema collection.
Enums§
- Convert
Error - Errors that occur during DTO-to-TeaLeaf conversion
Traits§
- From
TeaLeaf - Convert a TeaLeaf
Valueback into a Rust type. - NotU8
- Marker trait to exclude
u8from genericVec<T>impl.Vec<u8>has its own specialization mapping toValue::Bytes. - ToTea
Leaf - Convert a Rust type into a TeaLeaf
Valueand collect associated schemas. - ToTea
Leaf Ext - Extension trait providing convenience methods on types implementing
ToTeaLeaf.