Last updated 3 years ago
Was this helpful?
data
definition. See for details.
data SomeType: fieldName: FieldType otherName: OtherType third: []u32
alias
Aliasing a type to a name.
It may help with self-documented code and refactoring.
alias PeerId: string alias MyDomain: DomainType