Derive Macro alkahest_proc::SerializeRef
source · #[derive(SerializeRef)]
Expand description
Proc-macro to derive SerializeRef
trait for user-defined type.
This macro requires that type is either struct
or enum
.
All fields must implement Serialize
.