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