Entity

Derive Macro Entity 

Source
#[derive(Entity)]
Expand description

Implements the Entity trait for your struct. It must contain a field named id of type Option<Uuid>.