Struct mpl_token_metadata::instructions::BurnNft
source · pub struct BurnNft {
pub metadata: Pubkey,
pub owner: Pubkey,
pub mint: Pubkey,
pub token_account: Pubkey,
pub master_edition_account: Pubkey,
pub spl_token_program: Pubkey,
pub collection_metadata: Option<Pubkey>,
}
Expand description
Accounts.
Fields§
§metadata: Pubkey
Metadata (pda of [‘metadata’, program id, mint id])
owner: Pubkey
NFT owner
mint: Pubkey
Mint of the NFT
token_account: Pubkey
Token account to close
master_edition_account: Pubkey
MasterEdition2 of the NFT
spl_token_program: Pubkey
SPL Token Program
collection_metadata: Option<Pubkey>
Metadata of the Collection
Implementations§
source§impl BurnNft
impl BurnNft
pub fn instruction(&self) -> Instruction
pub fn instruction_with_remaining_accounts( &self, remaining_accounts: &[AccountMeta] ) -> Instruction
Auto Trait Implementations§
impl RefUnwindSafe for BurnNft
impl Send for BurnNft
impl Sync for BurnNft
impl Unpin for BurnNft
impl UnwindSafe for BurnNft
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