Struct mpl_token_metadata::instructions::Collect
source · pub struct Collect {
pub authority: Pubkey,
pub recipient: Pubkey,
}
Expand description
Accounts.
Fields§
Authority to collect fees
recipient: Pubkey
The account to transfer collected fees to
Implementations§
source§impl Collect
impl Collect
pub fn instruction(&self) -> Instruction
pub fn instruction_with_remaining_accounts( &self, remaining_accounts: &[AccountMeta] ) -> Instruction
Auto Trait Implementations§
impl RefUnwindSafe for Collect
impl Send for Collect
impl Sync for Collect
impl Unpin for Collect
impl UnwindSafe for Collect
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more