pub type CollectionDetailsFor<T, I> = CollectionDetails<<T as SystemConfig>::AccountId, DepositBalanceOf<T, I>>;Expand description
A type alias representing the details of a collection.
Aliased Type§
struct CollectionDetailsFor<T, I> {
pub owner: <T as Config>::AccountId,
pub owner_deposit: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance,
pub items: u32,
pub item_metadatas: u32,
pub item_configs: u32,
pub attributes: u32,
}Fields§
§owner: <T as Config>::AccountIdCollection’s owner.
owner_deposit: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::BalanceThe total balance deposited by the owner for all the storage data associated with this
collection. Used by destroy.
items: u32The total number of outstanding items of this collection.
item_metadatas: u32The total number of outstanding item metadata of this collection.
item_configs: u32The total number of outstanding item configs of this collection.
attributes: u32The total number of attributes for this collection.