ValueObject

Derive Macro ValueObject 

Source
#[derive(ValueObject)]
{
    // Attributes available to this derive:
    #[value_object]
}
Expand description

Proc macro for deriving the ValueObject trait.

Use the #[value_object(eq)] attribute to tag which fields should be considered as equality components when comparing value objects.