Skip to main content

kind

Macro kind 

Source
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");.