pub comptime fn derive_serialize_if_not_implemented(s: TypeDefinition) -> Quoted
Generates a quote that implements Serialize for a given struct s. If the struct already implements Serialize, we return an empty quote.
Serialize
s
Generates a quote that implements
Serializefor a given structs. If the struct already implementsSerialize, we return an empty quote.