pub struct InstantDecreasePositionInstructionAccounts {Show 22 fields
pub keeper: Pubkey,
pub api_keeper: Pubkey,
pub owner: Pubkey,
pub receiving_account: Pubkey,
pub transfer_authority: Pubkey,
pub perpetuals: Pubkey,
pub pool: Pubkey,
pub position: Pubkey,
pub custody: Pubkey,
pub custody_doves_price_account: Pubkey,
pub custody_pythnet_price_account: Pubkey,
pub collateral_custody: Pubkey,
pub collateral_custody_doves_price_account: Pubkey,
pub collateral_custody_pythnet_price_account: Pubkey,
pub collateral_custody_token_account: Pubkey,
pub desired_mint: Pubkey,
pub referral: Pubkey,
pub token_program: Pubkey,
pub associated_token_program: Pubkey,
pub system_program: Pubkey,
pub event_authority: Pubkey,
pub program: Pubkey,
}Fields§
§keeper: Pubkey§api_keeper: Pubkey§owner: Pubkey§receiving_account: Pubkey§perpetuals: Pubkey§pool: Pubkey§position: Pubkey§custody: Pubkey§custody_doves_price_account: Pubkey§custody_pythnet_price_account: Pubkey§collateral_custody: Pubkey§collateral_custody_doves_price_account: Pubkey§collateral_custody_pythnet_price_account: Pubkey§collateral_custody_token_account: Pubkey§desired_mint: Pubkey§referral: Pubkey§token_program: Pubkey§associated_token_program: Pubkey§system_program: Pubkey§program: PubkeyAuto Trait Implementations§
impl Freeze for InstantDecreasePositionInstructionAccounts
impl RefUnwindSafe for InstantDecreasePositionInstructionAccounts
impl Send for InstantDecreasePositionInstructionAccounts
impl Sync for InstantDecreasePositionInstructionAccounts
impl Unpin for InstantDecreasePositionInstructionAccounts
impl UnwindSafe for InstantDecreasePositionInstructionAccounts
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more