Struct mpl_token_metadata::instructions::BurnCpiAccounts
source · pub struct BurnCpiAccounts<'a, 'b> {Show 14 fields
pub authority: &'b AccountInfo<'a>,
pub collection_metadata: Option<&'b AccountInfo<'a>>,
pub metadata: &'b AccountInfo<'a>,
pub edition: Option<&'b AccountInfo<'a>>,
pub mint: &'b AccountInfo<'a>,
pub token: &'b AccountInfo<'a>,
pub master_edition: Option<&'b AccountInfo<'a>>,
pub master_edition_mint: Option<&'b AccountInfo<'a>>,
pub master_edition_token: Option<&'b AccountInfo<'a>>,
pub edition_marker: Option<&'b AccountInfo<'a>>,
pub token_record: Option<&'b AccountInfo<'a>>,
pub system_program: &'b AccountInfo<'a>,
pub sysvar_instructions: &'b AccountInfo<'a>,
pub spl_token_program: &'b AccountInfo<'a>,
}
Expand description
burn
CPI accounts.
Fields§
Asset owner or Utility delegate
collection_metadata: Option<&'b AccountInfo<'a>>
Metadata of the Collection
metadata: &'b AccountInfo<'a>
Metadata (pda of [‘metadata’, program id, mint id])
edition: Option<&'b AccountInfo<'a>>
Edition of the asset
mint: &'b AccountInfo<'a>
Mint of token asset
token: &'b AccountInfo<'a>
Token account to close
master_edition: Option<&'b AccountInfo<'a>>
Master edition account
master_edition_mint: Option<&'b AccountInfo<'a>>
Master edition mint of the asset
master_edition_token: Option<&'b AccountInfo<'a>>
Master edition token account
edition_marker: Option<&'b AccountInfo<'a>>
Edition marker account
token_record: Option<&'b AccountInfo<'a>>
Token record account
system_program: &'b AccountInfo<'a>
System program
sysvar_instructions: &'b AccountInfo<'a>
Instructions sysvar account
spl_token_program: &'b AccountInfo<'a>
SPL Token Program
Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for BurnCpiAccounts<'a, 'b>
impl<'a, 'b> !Send for BurnCpiAccounts<'a, 'b>
impl<'a, 'b> !Sync for BurnCpiAccounts<'a, 'b>
impl<'a, 'b> Unpin for BurnCpiAccounts<'a, 'b>
impl<'a, 'b> !UnwindSafe for BurnCpiAccounts<'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