pub type ItemDetailsFor<T, I> = ItemDetails<<T as SystemConfig>::AccountId, DepositBalanceOf<T, I>>;
Expand description
A type alias for the details of a single item.
Aliased Type§
struct ItemDetailsFor<T, I> {
pub owner: <T as Config>::AccountId,
pub approved: Option<<T as Config>::AccountId>,
pub is_frozen: bool,
pub deposit: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance,
}
Fields§
§owner: <T as Config>::AccountId
The owner of this item.
approved: Option<<T as Config>::AccountId>
The approved transferrer of this item, if one is set.
is_frozen: bool
Whether the item can be transferred or not.
deposit: <<T as Config<I>>::Currency as Currency<<T as Config>::AccountId>>::Balance
The amount held in the pallet’s default account for this item. Free-hold items will have this as zero.