Struct mpl_token_metadata::instruction::builders::PrintBuilder
source · pub struct PrintBuilder {Show 19 fields
pub edition_metadata: Option<Pubkey>,
pub edition: Option<Pubkey>,
pub edition_mint: Option<Pubkey>,
pub edition_token_account_owner: Option<Pubkey>,
pub edition_token_account: Option<Pubkey>,
pub edition_mint_authority: Option<Pubkey>,
pub edition_token_record: Option<Pubkey>,
pub master_edition: Option<Pubkey>,
pub edition_marker_pda: Option<Pubkey>,
pub payer: Option<Pubkey>,
pub master_token_account_owner: Option<Pubkey>,
pub master_token_account: Option<Pubkey>,
pub master_metadata: Option<Pubkey>,
pub update_authority: Option<Pubkey>,
pub spl_token_program: Option<Pubkey>,
pub spl_ata_program: Option<Pubkey>,
pub sysvar_instructions: Option<Pubkey>,
pub system_program: Option<Pubkey>,
pub initialize_mint: Option<bool>,
}
Fields§
§edition_metadata: Option<Pubkey>
§edition: Option<Pubkey>
§edition_mint: Option<Pubkey>
§edition_token_account_owner: Option<Pubkey>
§edition_token_account: Option<Pubkey>
§edition_token_record: Option<Pubkey>
§master_edition: Option<Pubkey>
§edition_marker_pda: Option<Pubkey>
§payer: Option<Pubkey>
§master_token_account_owner: Option<Pubkey>
§master_token_account: Option<Pubkey>
§master_metadata: Option<Pubkey>
§spl_token_program: Option<Pubkey>
§spl_ata_program: Option<Pubkey>
§sysvar_instructions: Option<Pubkey>
§system_program: Option<Pubkey>
§initialize_mint: Option<bool>
Implementations§
source§impl PrintBuilder
impl PrintBuilder
pub fn new() -> Box<PrintBuilder>
pub fn edition_metadata(&mut self, edition_metadata: Pubkey) -> &mut Self
pub fn edition(&mut self, edition: Pubkey) -> &mut Self
pub fn edition_mint(&mut self, edition_mint: Pubkey) -> &mut Self
pub fn edition_token_account_owner( &mut self, edition_token_account_owner: Pubkey ) -> &mut Self
pub fn edition_token_account( &mut self, edition_token_account: Pubkey ) -> &mut Self
pub fn edition_token_record( &mut self, edition_token_record: Pubkey ) -> &mut Self
pub fn master_edition(&mut self, master_edition: Pubkey) -> &mut Self
pub fn edition_marker_pda(&mut self, edition_marker_pda: Pubkey) -> &mut Self
pub fn payer(&mut self, payer: Pubkey) -> &mut Self
pub fn master_token_account_owner( &mut self, master_token_account_owner: Pubkey ) -> &mut Self
pub fn master_token_account( &mut self, master_token_account: Pubkey ) -> &mut Self
pub fn master_metadata(&mut self, master_metadata: Pubkey) -> &mut Self
pub fn spl_token_program(&mut self, spl_token_program: Pubkey) -> &mut Self
pub fn spl_ata_program(&mut self, spl_ata_program: Pubkey) -> &mut Self
pub fn sysvar_instructions(&mut self, sysvar_instructions: Pubkey) -> &mut Self
pub fn system_program(&mut self, system_program: Pubkey) -> &mut Self
pub fn initialize_mint(&mut self, initialize_mint: bool) -> &mut Self
pub fn build(&mut self, args: PrintArgs) -> Result<Box<Print>, Box<dyn Error>>
Auto Trait Implementations§
impl RefUnwindSafe for PrintBuilder
impl Send for PrintBuilder
impl Sync for PrintBuilder
impl Unpin for PrintBuilder
impl UnwindSafe for PrintBuilder
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