pub struct DeprecatedMintPrintingTokensBuilder {
pub destination: Option<Pubkey>,
pub printing_mint: Option<Pubkey>,
pub update_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>
§printing_mint: Option<Pubkey>
§metadata: Option<Pubkey>
§master_edition: Option<Pubkey>
§token_program: Option<Pubkey>
§rent: Option<Pubkey>
Implementations§
source§impl DeprecatedMintPrintingTokensBuilder
impl DeprecatedMintPrintingTokensBuilder
pub fn new() -> Box<DeprecatedMintPrintingTokensBuilder>
pub fn destination(&mut self, destination: 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<DeprecatedMintPrintingTokens>, Box<dyn Error>>
Auto Trait Implementations§
impl RefUnwindSafe for DeprecatedMintPrintingTokensBuilder
impl Send for DeprecatedMintPrintingTokensBuilder
impl Sync for DeprecatedMintPrintingTokensBuilder
impl Unpin for DeprecatedMintPrintingTokensBuilder
impl UnwindSafe for DeprecatedMintPrintingTokensBuilder
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