Derive Macro ddd_rs::ValueObject

source ·
#[derive(ValueObject)]
{
    // Attributes available to this derive:
    #[eq_component]
}
Expand description

Proc macro for deriving the ValueObject trait.

Use the #[eq_component] attribute to tag which fields should be considered when comparing value objects.