Skip to main content

Child

Derive Macro Child 

Source
#[derive(Child)]
{
    // Attributes available to this derive:
    #[sofie]
    #[min]
    #[max]
    #[length]
    #[range]
    #[required]
}
Expand description

Needs an id: Id<Self> field; stored in its own table beside the aggregate’s.