Struct mpl_token_metadata::instruction::builders::BurnBuilder
source · pub struct BurnBuilder {Show 14 fields
pub authority: Option<Pubkey>,
pub collection_metadata: Option<Pubkey>,
pub metadata: Option<Pubkey>,
pub edition: Option<Pubkey>,
pub mint: Option<Pubkey>,
pub token: Option<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: Option<Pubkey>,
pub sysvar_instructions: Option<Pubkey>,
pub spl_token_program: Option<Pubkey>,
}
Fields§
§collection_metadata: Option<Pubkey>
§metadata: Option<Pubkey>
§edition: Option<Pubkey>
§mint: Option<Pubkey>
§token: Option<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: Option<Pubkey>
§sysvar_instructions: Option<Pubkey>
§spl_token_program: Option<Pubkey>
Implementations§
source§impl BurnBuilder
impl BurnBuilder
pub fn new() -> Box<BurnBuilder>
pub fn collection_metadata(&mut self, collection_metadata: Pubkey) -> &mut Self
pub fn metadata(&mut self, metadata: Pubkey) -> &mut Self
pub fn edition(&mut self, edition: Pubkey) -> &mut Self
pub fn mint(&mut self, mint: Pubkey) -> &mut Self
pub fn token(&mut self, token: Pubkey) -> &mut Self
pub fn master_edition(&mut self, master_edition: Pubkey) -> &mut Self
pub fn master_edition_mint(&mut self, master_edition_mint: Pubkey) -> &mut Self
pub fn master_edition_token( &mut self, master_edition_token: Pubkey ) -> &mut Self
pub fn edition_marker(&mut self, edition_marker: Pubkey) -> &mut Self
pub fn token_record(&mut self, token_record: Pubkey) -> &mut Self
pub fn system_program(&mut self, system_program: Pubkey) -> &mut Self
pub fn sysvar_instructions(&mut self, sysvar_instructions: Pubkey) -> &mut Self
pub fn spl_token_program(&mut self, spl_token_program: Pubkey) -> &mut Self
pub fn build(&mut self, args: BurnArgs) -> Result<Box<Burn>, Box<dyn Error>>
Auto Trait Implementations§
impl RefUnwindSafe for BurnBuilder
impl Send for BurnBuilder
impl Sync for BurnBuilder
impl Unpin for BurnBuilder
impl UnwindSafe for BurnBuilder
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