macro_rules! kind {
($($name:ident = $kind:literal $(: $id:ty)?),* $(,)?) => { ... };
}Expand description
Declares kinds, each with its id type (String when none is said):
substrate_data::kind!(User = "user": u64, Doc = "doc");.
macro_rules! kind {
($($name:ident = $kind:literal $(: $id:ty)?),* $(,)?) => { ... };
}Declares kinds, each with its id type (String when none is said):
substrate_data::kind!(User = "user": u64, Doc = "doc");.