Struct mpl_token_metadata::instruction::builders::DeprecatedMintPrintingTokensViaTokenBuilder
source · pub struct DeprecatedMintPrintingTokensViaTokenBuilder {
pub destination: Option<Pubkey>,
pub token: Option<Pubkey>,
pub one_time_printing_authorization_mint: Option<Pubkey>,
pub printing_mint: Option<Pubkey>,
pub burn_authority: Option<Pubkey>,
pub metadata: Option<Pubkey>,
pub master_edition: Option<Pubkey>,
pub token_program: Option<Pubkey>,
pub rent: Option<Pubkey>,
}
Fields§
§destination: Option<Pubkey>
§token: Option<Pubkey>
§printing_mint: Option<Pubkey>
§metadata: Option<Pubkey>
§master_edition: Option<Pubkey>
§token_program: Option<Pubkey>
§rent: Option<Pubkey>
Implementations§
source§impl DeprecatedMintPrintingTokensViaTokenBuilder
impl DeprecatedMintPrintingTokensViaTokenBuilder
pub fn new() -> Box<DeprecatedMintPrintingTokensViaTokenBuilder>
pub fn destination(&mut self, destination: Pubkey) -> &mut Self
pub fn token(&mut self, token: Pubkey) -> &mut Self
pub fn printing_mint(&mut self, printing_mint: Pubkey) -> &mut Self
pub fn metadata(&mut self, metadata: Pubkey) -> &mut Self
pub fn master_edition(&mut self, master_edition: Pubkey) -> &mut Self
pub fn token_program(&mut self, token_program: Pubkey) -> &mut Self
pub fn rent(&mut self, rent: Pubkey) -> &mut Self
pub fn build( &mut self ) -> Result<Box<DeprecatedMintPrintingTokensViaToken>, Box<dyn Error>>
Auto Trait Implementations§
impl RefUnwindSafe for DeprecatedMintPrintingTokensViaTokenBuilder
impl Send for DeprecatedMintPrintingTokensViaTokenBuilder
impl Sync for DeprecatedMintPrintingTokensViaTokenBuilder
impl Unpin for DeprecatedMintPrintingTokensViaTokenBuilder
impl UnwindSafe for DeprecatedMintPrintingTokensViaTokenBuilder
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