macro_rules! identifier {
($name:ident, $what:literal) => { ... };
}Expand description
Declare one identifier newtype: minting, display, strict parsing and schema.
identifier!(Name, "what it identifies") declares Name as a UUID version
7 newtype, minted by new, displayed and serialized as its
lowercase hyphenated string, refused on parse in any other spelling or at
any other version, and emitting the schema every identifier of this system
emits. The type crate declares the three the envelope reaches through it;
a domain declares its own the same way, in its own crate.