Crate montycat_serialization_derive

Crate montycat_serialization_derive 

Source

Derive Macros§

BinaryConvert
This procedural macro derives a trait called BinaryConvert for the struct it’s applied to. The BinaryConvert trait provides methods to convert a struct to and from its byte representation, useful for serializing and deserializing to and from binary formats.
RuntimeSchema
This procedural macro derives a trait called RuntimeSchema for the struct it’s applied to. The RuntimeSchema trait provides methods to introspect the struct’s fields at runtime, specifically to identify fields of certain types (like Pointer and Timestamp), retrieve all field names and types, and generate schema parameters.