Entity

Derive Macro Entity 

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

Proc macro for deriving the Entity trait.

Use the #[entity(id)] attribute to tag the identity (ID) field of the entity.