Struct mpl_token_metadata::instruction::builders::Burn
source · pub struct Burn {Show 15 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,
pub args: BurnArgs,
}
Fields§
§collection_metadata: Option<Pubkey>
§metadata: Pubkey
§edition: Option<Pubkey>
§mint: Pubkey
§token: Pubkey
§master_edition: Option<Pubkey>
§master_edition_mint: Option<Pubkey>
§master_edition_token: Option<Pubkey>
§edition_marker: Option<Pubkey>
§token_record: Option<Pubkey>
§system_program: Pubkey
§sysvar_instructions: Pubkey
§spl_token_program: Pubkey
§args: BurnArgs
Trait Implementations§
source§impl InstructionBuilder for Burn
impl InstructionBuilder for Burn
Burn an asset.
Accounts:
[signer, writable]
Asset owner or Utility delegate[optional, writable]
Metadata of the Collection[writable]
Metadata (pda of [‘metadata’, program id, mint id])[optional, writable]
Edition of the asset[writable]
Mint of token account[writable]
Token account to close[optional, writable]
Master edition token account[optional]
Master edition mint of the asset[optional]
Master edition token account[optional, writable]
Edition marker account[optional, writable]
Token record account[]
System program[]
Instruction sysvar account[]
SPL Token Program
fn instruction(&self) -> 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