Type Alias pallet_nfts::pallet::Attribute
source · pub type Attribute<T: Config<I>, I: 'static = ()> = StorageNMap<_GeneratedPrefixForStorageAttribute<T, I>, (NMapKey<Blake2_128Concat, T::CollectionId>, NMapKey<Blake2_128Concat, Option<T::ItemId>>, NMapKey<Blake2_128Concat, AttributeNamespace<T::AccountId>>, NMapKey<Blake2_128Concat, BoundedVec<u8, T::KeyLimit>>), (BoundedVec<u8, T::ValueLimit>, AttributeDepositOf<T, I>), OptionQuery>;
Expand description
Attributes of a collection.
Storage type is [StorageNMap
] with keys type (T :: CollectionId, Option < T :: ItemId >, AttributeNamespace < T :: AccountId >, BoundedVec < u8, T :: KeyLimit >) and value type (BoundedVec < u8, T :: ValueLimit > , AttributeDepositOf < T, I >).
Aliased Type§
struct Attribute<T: Config<I>, I: 'static = ()>(/* private fields */);