#[derive(Entity)] { // Attributes available to this derive: #[entity] }
Proc macro for deriving the Entity trait.
Entity
Use the #[entity(id)] attribute to tag the identity (ID) field of the entity.
#[entity(id)]