Struct mpl_token_metadata::instructions::Collect
source · pub struct Collect {
pub authority: Pubkey,
pub pda_account: Pubkey,
}
Expand description
Accounts.
Fields§
Authority to collect fees
pda_account: Pubkey
PDA to retrieve fees from
Implementations§
source§impl Collect
impl Collect
pub fn instruction(&self) -> Instruction
pub fn instruction_with_remaining_accounts( &self, remaining_accounts: &[InstructionAccount] ) -> 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