pub struct SetTokenStandardCpiBuilder<'a, 'b> { /* private fields */ }
Expand description
set_token_standard
CPI instruction builder.
Implementations§
source§impl<'a, 'b> SetTokenStandardCpiBuilder<'a, 'b>
impl<'a, 'b> SetTokenStandardCpiBuilder<'a, 'b>
pub fn new(program: &'b AccountInfo<'a>) -> Self
sourcepub fn metadata(&mut self, metadata: &'b AccountInfo<'a>) -> &mut Self
pub fn metadata(&mut self, metadata: &'b AccountInfo<'a>) -> &mut Self
Metadata account
Metadata update authority
sourcepub fn mint(&mut self, mint: &'b AccountInfo<'a>) -> &mut Self
pub fn mint(&mut self, mint: &'b AccountInfo<'a>) -> &mut Self
Mint account
sourcepub fn edition(&mut self, edition: Option<&'b AccountInfo<'a>>) -> &mut Self
pub fn edition(&mut self, edition: Option<&'b AccountInfo<'a>>) -> &mut Self
[optional account]
Edition account
pub fn add_remaining_account( &mut self, account: InstructionAccountInfo<'a, 'b> ) -> &mut Self
pub fn add_remaining_accounts( &mut self, accounts: &[InstructionAccountInfo<'a, 'b>] ) -> &mut Self
pub fn invoke(&self) -> ProgramResult
pub fn invoke_signed(&self, signers_seeds: &[&[&[u8]]]) -> ProgramResult
Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for SetTokenStandardCpiBuilder<'a, 'b>
impl<'a, 'b> !Send for SetTokenStandardCpiBuilder<'a, 'b>
impl<'a, 'b> !Sync for SetTokenStandardCpiBuilder<'a, 'b>
impl<'a, 'b> Unpin for SetTokenStandardCpiBuilder<'a, 'b>
impl<'a, 'b> !UnwindSafe for SetTokenStandardCpiBuilder<'a, 'b>
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