pub struct ThawDelegatedAccountCpiBuilder<'a, 'b> { /* private fields */ }
Expand description
thaw_delegated_account
CPI instruction builder.
Implementations§
source§impl<'a, 'b> ThawDelegatedAccountCpiBuilder<'a, 'b>
impl<'a, 'b> ThawDelegatedAccountCpiBuilder<'a, 'b>
pub fn new(program: &'b AccountInfo<'a>) -> Self
sourcepub fn delegate(&mut self, delegate: &'b AccountInfo<'a>) -> &mut Self
pub fn delegate(&mut self, delegate: &'b AccountInfo<'a>) -> &mut Self
Delegate
sourcepub fn token_account(&mut self, token_account: &'b AccountInfo<'a>) -> &mut Self
pub fn token_account(&mut self, token_account: &'b AccountInfo<'a>) -> &mut Self
Token account to thaw
sourcepub fn edition(&mut self, edition: &'b AccountInfo<'a>) -> &mut Self
pub fn edition(&mut self, edition: &'b AccountInfo<'a>) -> &mut Self
Edition
sourcepub fn mint(&mut self, mint: &'b AccountInfo<'a>) -> &mut Self
pub fn mint(&mut self, mint: &'b AccountInfo<'a>) -> &mut Self
Token mint
sourcepub fn token_program(&mut self, token_program: &'b AccountInfo<'a>) -> &mut Self
pub fn token_program(&mut self, token_program: &'b AccountInfo<'a>) -> &mut Self
Token Program
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 ThawDelegatedAccountCpiBuilder<'a, 'b>
impl<'a, 'b> !Send for ThawDelegatedAccountCpiBuilder<'a, 'b>
impl<'a, 'b> !Sync for ThawDelegatedAccountCpiBuilder<'a, 'b>
impl<'a, 'b> Unpin for ThawDelegatedAccountCpiBuilder<'a, 'b>
impl<'a, 'b> !UnwindSafe for ThawDelegatedAccountCpiBuilder<'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