Derive Macro derse_derive::Serialize

source ยท
#[derive(Serialize)]
Expand description

Derives the Serialize trait for structs and enums.

This macro generates an implementation of the Serialize trait for the given type. It supports both structs and enums, handling named, unnamed, and unit fields.