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