macro_rules! definition_token {
($name:ident, $kind:expr, $docs:literal) => { ... };
}Expand description
Declares one validated, application-owned definition token type.
The generated constructor calls validate_token and returns
DefinitionError, both of which must be in scope where the macro is
invoked.