Structs§
- Auto key type means that the storage key should be calculated automatically.
- Manual key type specifies the storage key.
- Resolver key type selects between preferred key and autogenerated key. If the
L
type isAutoKey
it returns auto-generatedR
elseL
.
Traits§
- Automatically returns the type that should be used for storing the value.
- Trait for describing types that can be read and written to storage while all fields occupy only a single storage cell.
- Trait for representing types which can be read and written to storage.
- Describes the type that should be used for storing the value and preferred storage key.
- Holds storage key for the type.
- Implemented by types that have a storage layout.
Functions§
- Decode and consume all of the given input data.
Derive Macros§
- Derives
ink::storage
’sStorable
trait for the givenstruct
,enum
orunion
. - Derives
ink::storage
’sStorableHint
trait for the givenstruct
orenum
. - Derives
ink::storage
’sStorageKey
trait for the givenstruct
orenum
. - Derives
ink::storage
’sStorageLayout
trait for the givenstruct
orenum
.