pub struct BurnEditionNftBuilder {
pub metadata: Option<Pubkey>,
pub owner: Option<Pubkey>,
pub print_edition_mint: Option<Pubkey>,
pub master_edition_mint: Option<Pubkey>,
pub print_edition_token_account: Option<Pubkey>,
pub master_edition_token_account: Option<Pubkey>,
pub master_edition_account: Option<Pubkey>,
pub print_edition_account: Option<Pubkey>,
pub edition_marker_account: Option<Pubkey>,
pub spl_token_program: Option<Pubkey>,
}
Fields§
§metadata: Option<Pubkey>
§owner: Option<Pubkey>
§print_edition_mint: Option<Pubkey>
§master_edition_mint: Option<Pubkey>
§print_edition_token_account: Option<Pubkey>
§master_edition_token_account: Option<Pubkey>
§master_edition_account: Option<Pubkey>
§print_edition_account: Option<Pubkey>
§edition_marker_account: Option<Pubkey>
§spl_token_program: Option<Pubkey>
Implementations§
source§impl BurnEditionNftBuilder
impl BurnEditionNftBuilder
pub fn new() -> Box<BurnEditionNftBuilder>
pub fn metadata(&mut self, metadata: Pubkey) -> &mut Self
pub fn owner(&mut self, owner: Pubkey) -> &mut Self
pub fn print_edition_mint(&mut self, print_edition_mint: Pubkey) -> &mut Self
pub fn master_edition_mint(&mut self, master_edition_mint: Pubkey) -> &mut Self
pub fn print_edition_token_account( &mut self, print_edition_token_account: Pubkey ) -> &mut Self
pub fn master_edition_token_account( &mut self, master_edition_token_account: Pubkey ) -> &mut Self
pub fn master_edition_account( &mut self, master_edition_account: Pubkey ) -> &mut Self
pub fn print_edition_account( &mut self, print_edition_account: Pubkey ) -> &mut Self
pub fn edition_marker_account( &mut self, edition_marker_account: Pubkey ) -> &mut Self
pub fn spl_token_program(&mut self, spl_token_program: Pubkey) -> &mut Self
pub fn build(&mut self) -> Result<Box<BurnEditionNft>, Box<dyn Error>>
Auto Trait Implementations§
impl RefUnwindSafe for BurnEditionNftBuilder
impl Send for BurnEditionNftBuilder
impl Sync for BurnEditionNftBuilder
impl Unpin for BurnEditionNftBuilder
impl UnwindSafe for BurnEditionNftBuilder
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