pub struct RedeemStrategy2CpiAccounts<'a, 'b> {
pub user: &'b AccountInfo<'a>,
pub admin_permissions: Option<&'b AccountInfo<'a>>,
pub main: &'b AccountInfo<'a>,
pub strategy_controller: &'b AccountInfo<'a>,
pub receipt_mint: &'b AccountInfo<'a>,
pub user_receipt_ata: &'b AccountInfo<'a>,
pub user_earn_ata: &'b AccountInfo<'a>,
pub strategy_controller_earn_token_account: &'b AccountInfo<'a>,
pub token_program: &'b AccountInfo<'a>,
pub associated_token_program: &'b AccountInfo<'a>,
pub instruction_sysvar_account: &'b AccountInfo<'a>,
pub system_program: &'b AccountInfo<'a>,
}Expand description
redeem_strategy2 CPI accounts.
Fields§
§user: &'b AccountInfo<'a>§admin_permissions: Option<&'b AccountInfo<'a>>§main: &'b AccountInfo<'a>§strategy_controller: &'b AccountInfo<'a>§receipt_mint: &'b AccountInfo<'a>§user_receipt_ata: &'b AccountInfo<'a>§user_earn_ata: &'b AccountInfo<'a>§strategy_controller_earn_token_account: &'b AccountInfo<'a>§token_program: &'b AccountInfo<'a>§associated_token_program: &'b AccountInfo<'a>§instruction_sysvar_account: &'b AccountInfo<'a>§system_program: &'b AccountInfo<'a>Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for RedeemStrategy2CpiAccounts<'a, 'b>
impl<'a, 'b> !Send for RedeemStrategy2CpiAccounts<'a, 'b>
impl<'a, 'b> !Sync for RedeemStrategy2CpiAccounts<'a, 'b>
impl<'a, 'b> !UnwindSafe for RedeemStrategy2CpiAccounts<'a, 'b>
impl<'a, 'b> Freeze for RedeemStrategy2CpiAccounts<'a, 'b>
impl<'a, 'b> Unpin for RedeemStrategy2CpiAccounts<'a, 'b>
impl<'a, 'b> UnsafeUnpin for RedeemStrategy2CpiAccounts<'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