pub struct MintConfigUpdateBuilder { /* private fields */ }Expand description
Instruction builder for MintConfigUpdate.
§Accounts:
[signer]program_authority[writable]mint_config[]config
Implementations§
Source§impl MintConfigUpdateBuilder
impl MintConfigUpdateBuilder
pub fn new() -> Self
The authority of the program
Sourcepub fn mint_config(&mut self, mint_config: Pubkey) -> &mut Self
pub fn mint_config(&mut self, mint_config: Pubkey) -> &mut Self
The mint config account
pub fn update(&mut self, update: MintConfigUpdateType) -> &mut Self
Sourcepub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
pub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
Add an additional account to the instruction.
Sourcepub fn add_remaining_accounts(&mut self, accounts: &[AccountMeta]) -> &mut Self
pub fn add_remaining_accounts(&mut self, accounts: &[AccountMeta]) -> &mut Self
Add additional accounts to the instruction.
pub fn instruction(&self) -> Instruction
Trait Implementations§
Source§impl Clone for MintConfigUpdateBuilder
impl Clone for MintConfigUpdateBuilder
Source§fn clone(&self) -> MintConfigUpdateBuilder
fn clone(&self) -> MintConfigUpdateBuilder
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MintConfigUpdateBuilder
impl Debug for MintConfigUpdateBuilder
Source§impl Default for MintConfigUpdateBuilder
impl Default for MintConfigUpdateBuilder
Source§fn default() -> MintConfigUpdateBuilder
fn default() -> MintConfigUpdateBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MintConfigUpdateBuilder
impl RefUnwindSafe for MintConfigUpdateBuilder
impl Send for MintConfigUpdateBuilder
impl Sync for MintConfigUpdateBuilder
impl Unpin for MintConfigUpdateBuilder
impl UnwindSafe for MintConfigUpdateBuilder
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