Trait frame_support::traits::tokens::nonfungible::Transfer
source · pub trait Transfer<AccountId>: Inspect<AccountId> {
// Required method
fn transfer(item: &Self::ItemId, destination: &AccountId) -> DispatchResult;
}
Expand description
Trait for providing a non-fungible set of items which can only be transferred.
Required Methods§
sourcefn transfer(item: &Self::ItemId, destination: &AccountId) -> DispatchResult
fn transfer(item: &Self::ItemId, destination: &AccountId) -> DispatchResult
Transfer item
into destination
account.