#[derive(Valuable)]
{
// Attributes available to this derive:
#[valuable]
}
Expand description
Derive a Valuable
implementation for a struct or enum.
ยงExamples
use valuable::Valuable;
#[derive(Valuable)]
struct HelloWorld {
message: Message,
}
#[derive(Valuable)]
enum Message {
HelloWorld,
Custom(String),
}