pub struct BurnNftCpiAccounts<'a, 'b> {
pub metadata: &'b AccountInfo<'a>,
pub owner: &'b AccountInfo<'a>,
pub mint: &'b AccountInfo<'a>,
pub token_account: &'b AccountInfo<'a>,
pub master_edition_account: &'b AccountInfo<'a>,
pub spl_token_program: &'b AccountInfo<'a>,
pub collection_metadata: Option<&'b AccountInfo<'a>>,
}
Expand description
burn_nft
CPI accounts.
Fields§
§metadata: &'b AccountInfo<'a>
Metadata (pda of [‘metadata’, program id, mint id])
owner: &'b AccountInfo<'a>
NFT owner
mint: &'b AccountInfo<'a>
Mint of the NFT
token_account: &'b AccountInfo<'a>
Token account to close
master_edition_account: &'b AccountInfo<'a>
MasterEdition2 of the NFT
spl_token_program: &'b AccountInfo<'a>
SPL Token Program
collection_metadata: Option<&'b AccountInfo<'a>>
Metadata of the Collection
Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for BurnNftCpiAccounts<'a, 'b>
impl<'a, 'b> !Send for BurnNftCpiAccounts<'a, 'b>
impl<'a, 'b> !Sync for BurnNftCpiAccounts<'a, 'b>
impl<'a, 'b> Unpin for BurnNftCpiAccounts<'a, 'b>
impl<'a, 'b> !UnwindSafe for BurnNftCpiAccounts<'a, 'b>
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