Module frame_support::storage::types[][src]

Storage types to build abstraction on storage, they implements storage traits such as StorageMap and others.

Structs

OptionQuery

Implement QueryKindTrait with query being Option<Value>

StorageDoubleMap

A type that allow to store values for (key1, key2) couple. Similar to StorageMap but allow to iterate and remove value associated to first key.

StorageMap

A type that allow to store value for given key. Allowing to insert/remove/iterate on values.

StorageValue

A type that allow to store a value.

ValueQuery

Implement QueryKindTrait with query being Value

Traits

QueryKindTrait

Trait implementing how the storage optional value is converted into the queried type.

StorageDoubleMapMetadata

Part of storage metadata for a storage double map.

StorageMapMetadata

Part of storage metadata for a storage map.

StorageValueMetadata

Part of storage metadata for storage value.