pub struct CaptureSpreadDrift {
pub capturer: Pubkey,
pub main: Pubkey,
pub strategy_controller: Pubkey,
pub admin_permissions: Option<Pubkey>,
pub drift: Pubkey,
pub user_account: Pubkey,
pub stable_mint: Pubkey,
pub token_program: Pubkey,
}Expand description
Accounts.
Fields§
§capturer: Pubkey§main: Pubkey§strategy_controller: Pubkey§admin_permissions: Option<Pubkey>§drift: Pubkey§user_account: Pubkey§stable_mint: Pubkey§token_program: PubkeyImplementations§
Source§impl CaptureSpreadDrift
impl CaptureSpreadDrift
pub fn instruction( &self, args: CaptureSpreadDriftInstructionArgs, ) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: CaptureSpreadDriftInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CaptureSpreadDrift
impl RefUnwindSafe for CaptureSpreadDrift
impl Send for CaptureSpreadDrift
impl Sync for CaptureSpreadDrift
impl Unpin for CaptureSpreadDrift
impl UnsafeUnpin for CaptureSpreadDrift
impl UnwindSafe for CaptureSpreadDrift
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