Struct mpl_token_metadata::instructions::BurnV1Builder
source · pub struct BurnV1Builder { /* private fields */ }
Expand description
Instruction builder.
Implementations§
source§impl BurnV1Builder
impl BurnV1Builder
pub fn new() -> Self
Asset owner or Utility delegate
sourcepub fn collection_metadata(
&mut self,
collection_metadata: Option<Pubkey>
) -> &mut Self
pub fn collection_metadata( &mut self, collection_metadata: Option<Pubkey> ) -> &mut Self
[optional account]
Metadata of the Collection
sourcepub fn metadata(&mut self, metadata: Pubkey) -> &mut Self
pub fn metadata(&mut self, metadata: Pubkey) -> &mut Self
Metadata (pda of [‘metadata’, program id, mint id])
sourcepub fn edition(&mut self, edition: Option<Pubkey>) -> &mut Self
pub fn edition(&mut self, edition: Option<Pubkey>) -> &mut Self
[optional account]
Edition of the asset
sourcepub fn master_edition(&mut self, master_edition: Option<Pubkey>) -> &mut Self
pub fn master_edition(&mut self, master_edition: Option<Pubkey>) -> &mut Self
[optional account]
Master edition account
sourcepub fn master_edition_mint(
&mut self,
master_edition_mint: Option<Pubkey>
) -> &mut Self
pub fn master_edition_mint( &mut self, master_edition_mint: Option<Pubkey> ) -> &mut Self
[optional account]
Master edition mint of the asset
sourcepub fn master_edition_token(
&mut self,
master_edition_token: Option<Pubkey>
) -> &mut Self
pub fn master_edition_token( &mut self, master_edition_token: Option<Pubkey> ) -> &mut Self
[optional account]
Master edition token account
sourcepub fn edition_marker(&mut self, edition_marker: Option<Pubkey>) -> &mut Self
pub fn edition_marker(&mut self, edition_marker: Option<Pubkey>) -> &mut Self
[optional account]
Edition marker account
sourcepub fn token_record(&mut self, token_record: Option<Pubkey>) -> &mut Self
pub fn token_record(&mut self, token_record: Option<Pubkey>) -> &mut Self
[optional account]
Token record account
sourcepub fn system_program(&mut self, system_program: Pubkey) -> &mut Self
pub fn system_program(&mut self, system_program: Pubkey) -> &mut Self
[optional account, default to '11111111111111111111111111111111']
System program
sourcepub fn sysvar_instructions(&mut self, sysvar_instructions: Pubkey) -> &mut Self
pub fn sysvar_instructions(&mut self, sysvar_instructions: Pubkey) -> &mut Self
[optional account, default to 'Sysvar1nstructions1111111111111111111111111']
Instructions sysvar account
sourcepub fn spl_token_program(&mut self, spl_token_program: Pubkey) -> &mut Self
pub fn spl_token_program(&mut self, spl_token_program: Pubkey) -> &mut Self
[optional account, default to 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA']
SPL Token Program
pub fn add_remaining_account( &mut self, account: InstructionAccount ) -> &mut Self
pub fn add_remaining_accounts( &mut self, accounts: &[InstructionAccount] ) -> &mut Self
pub fn instruction(&self) -> Instruction
Trait Implementations§
source§impl Default for BurnV1Builder
impl Default for BurnV1Builder
source§fn default() -> BurnV1Builder
fn default() -> BurnV1Builder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BurnV1Builder
impl Send for BurnV1Builder
impl Sync for BurnV1Builder
impl Unpin for BurnV1Builder
impl UnwindSafe for BurnV1Builder
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