pub struct ThawDelegatedAccountBuilder { /* private fields */ }
Expand description
Instruction builder.
Implementations§
source§impl ThawDelegatedAccountBuilder
impl ThawDelegatedAccountBuilder
pub fn new() -> Self
sourcepub fn token_account(&mut self, token_account: Pubkey) -> &mut Self
pub fn token_account(&mut self, token_account: Pubkey) -> &mut Self
Token account to thaw
sourcepub fn token_program(&mut self, token_program: Pubkey) -> &mut Self
pub fn token_program(&mut self, token_program: Pubkey) -> &mut Self
[optional account, default to 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA']
Token Program
pub fn add_remaining_account( &mut self, account: InstructionAccount ) -> &mut Self
pub fn add_remaining_accounts( &mut self, accounts: &[InstructionAccount] ) -> &mut Self
pub fn instruction(&self) -> Instruction
Trait Implementations§
source§impl Default for ThawDelegatedAccountBuilder
impl Default for ThawDelegatedAccountBuilder
source§fn default() -> ThawDelegatedAccountBuilder
fn default() -> ThawDelegatedAccountBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ThawDelegatedAccountBuilder
impl Send for ThawDelegatedAccountBuilder
impl Sync for ThawDelegatedAccountBuilder
impl Unpin for ThawDelegatedAccountBuilder
impl UnwindSafe for ThawDelegatedAccountBuilder
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