pub struct Withdraw {
pub unstaker_account: Pubkey,
pub state_account: Pubkey,
pub pending_withdraw_account: Pubkey,
pub unstaker_orca_ata: Pubkey,
pub vault_account: Pubkey,
pub orca_mint_account: Pubkey,
pub system_program_account: Pubkey,
pub token_program_account: Pubkey,
}Expand description
Accounts.
Fields§
§unstaker_account: Pubkey§state_account: Pubkey§pending_withdraw_account: Pubkey§unstaker_orca_ata: Pubkey§vault_account: Pubkey§orca_mint_account: Pubkey§system_program_account: Pubkey§token_program_account: PubkeyImplementations§
Source§impl Withdraw
impl Withdraw
pub fn instruction(&self, args: WithdrawInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: WithdrawInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Withdraw
impl RefUnwindSafe for Withdraw
impl Send for Withdraw
impl Sync for Withdraw
impl Unpin for Withdraw
impl UnwindSafe for Withdraw
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