define_entity_id

Macro define_entity_id 

Source
macro_rules! define_entity_id {
    ($name:ident, $entity:literal, $doc:literal) => { ... };
}
Expand description

Macro to define a type-safe entity ID newtype.

This generates a newtype wrapper around UUID with all the necessary trait implementations for compile-time type safety.