message

Attribute Macro message 

Source
#[message]
Expand description

Implements the Message trait for structs or enums.

This will also implement the serde::Serialize and serde::Deserialize traits.

ยงExample:

use flawless::message;

#[message("empty")]
struct Empty;