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