Struct mpl_token_metadata::instructions::BurnV1
source · pub struct BurnV1 {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 BurnV1
impl BurnV1
pub fn instruction(&self, args: BurnV1InstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: BurnV1InstructionArgs, remaining_accounts: &[AccountMeta] ) -> Instruction
Auto Trait Implementations§
impl RefUnwindSafe for BurnV1
impl Send for BurnV1
impl Sync for BurnV1
impl Unpin for BurnV1
impl UnwindSafe for BurnV1
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