pub struct SetTokenStandardBuilder { /* private fields */ }
Expand description
Instruction builder for SetTokenStandard
.
Accounts:
[writable]
metadata[signer]
update_authority[]
mint[optional]
edition
Implementations§
source§impl SetTokenStandardBuilder
impl SetTokenStandardBuilder
pub fn new() -> Self
Metadata update authority
sourcepub fn edition(&mut self, edition: Option<Pubkey>) -> &mut Self
pub fn edition(&mut self, edition: Option<Pubkey>) -> &mut Self
[optional account]
Edition account
sourcepub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
pub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
Add an aditional 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 Default for SetTokenStandardBuilder
impl Default for SetTokenStandardBuilder
source§fn default() -> SetTokenStandardBuilder
fn default() -> SetTokenStandardBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SetTokenStandardBuilder
impl Send for SetTokenStandardBuilder
impl Sync for SetTokenStandardBuilder
impl Unpin for SetTokenStandardBuilder
impl UnwindSafe for SetTokenStandardBuilder
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