pub struct CreateDecreasePositionRequest2CpiAccounts<'a, 'b> {Show 18 fields
pub owner: &'b AccountInfo<'a>,
pub receiving_account: &'b AccountInfo<'a>,
pub perpetuals: &'b AccountInfo<'a>,
pub pool: &'b AccountInfo<'a>,
pub position: &'b AccountInfo<'a>,
pub position_request: &'b AccountInfo<'a>,
pub position_request_ata: &'b AccountInfo<'a>,
pub custody: &'b AccountInfo<'a>,
pub custody_doves_price_account: &'b AccountInfo<'a>,
pub custody_pythnet_price_account: &'b AccountInfo<'a>,
pub collateral_custody: &'b AccountInfo<'a>,
pub desired_mint: &'b AccountInfo<'a>,
pub referral: Option<&'b AccountInfo<'a>>,
pub token_program: &'b AccountInfo<'a>,
pub associated_token_program: &'b AccountInfo<'a>,
pub system_program: &'b AccountInfo<'a>,
pub event_authority: &'b AccountInfo<'a>,
pub program: &'b AccountInfo<'a>,
}Expand description
create_decrease_position_request2 CPI accounts.
Fields§
§owner: &'b AccountInfo<'a>§receiving_account: &'b AccountInfo<'a>§perpetuals: &'b AccountInfo<'a>§pool: &'b AccountInfo<'a>§position: &'b AccountInfo<'a>§position_request: &'b AccountInfo<'a>§position_request_ata: &'b AccountInfo<'a>§custody: &'b AccountInfo<'a>§custody_doves_price_account: &'b AccountInfo<'a>§custody_pythnet_price_account: &'b AccountInfo<'a>§collateral_custody: &'b AccountInfo<'a>§desired_mint: &'b AccountInfo<'a>§referral: Option<&'b AccountInfo<'a>>§token_program: &'b AccountInfo<'a>§associated_token_program: &'b AccountInfo<'a>§system_program: &'b AccountInfo<'a>§program: &'b AccountInfo<'a>Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for CreateDecreasePositionRequest2CpiAccounts<'a, 'b>
impl<'a, 'b> !Send for CreateDecreasePositionRequest2CpiAccounts<'a, 'b>
impl<'a, 'b> !Sync for CreateDecreasePositionRequest2CpiAccounts<'a, 'b>
impl<'a, 'b> !UnwindSafe for CreateDecreasePositionRequest2CpiAccounts<'a, 'b>
impl<'a, 'b> Freeze for CreateDecreasePositionRequest2CpiAccounts<'a, 'b>
impl<'a, 'b> Unpin for CreateDecreasePositionRequest2CpiAccounts<'a, 'b>
impl<'a, 'b> UnsafeUnpin for CreateDecreasePositionRequest2CpiAccounts<'a, 'b>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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