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 Freeze for SetTokenStandardBuilder
impl RefUnwindSafe for SetTokenStandardBuilder
impl Send for SetTokenStandardBuilder
impl Sync for SetTokenStandardBuilder
impl Unpin for SetTokenStandardBuilder
impl UnsafeUnpin 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