serde-struct-tuple-enum-proc-macro
serde-struct-tuple-proc-macro-enum is a utility crate for serde-struct-tuple-enum
. It provides procedural macros to automatically derive serde
's Serialize
and Deserialize
traits for enum types, where each variant of the enum if a struct that is encoded as a tuple of its fields (specifically using serde-struct-tuple
).