pub struct InstantCreateLimitOrderCpiAccounts<'a, 'b> {Show 20 fields
pub keeper: &'b AccountInfo<'a>,
pub api_keeper: &'b AccountInfo<'a>,
pub owner: &'b AccountInfo<'a>,
pub funding_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 input_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
instant_create_limit_order CPI accounts.
Fields§
§keeper: &'b AccountInfo<'a>§api_keeper: &'b AccountInfo<'a>§owner: &'b AccountInfo<'a>§funding_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>§input_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 InstantCreateLimitOrderCpiAccounts<'a, 'b>
impl<'a, 'b> !Send for InstantCreateLimitOrderCpiAccounts<'a, 'b>
impl<'a, 'b> !Sync for InstantCreateLimitOrderCpiAccounts<'a, 'b>
impl<'a, 'b> !UnwindSafe for InstantCreateLimitOrderCpiAccounts<'a, 'b>
impl<'a, 'b> Freeze for InstantCreateLimitOrderCpiAccounts<'a, 'b>
impl<'a, 'b> Unpin for InstantCreateLimitOrderCpiAccounts<'a, 'b>
impl<'a, 'b> UnsafeUnpin for InstantCreateLimitOrderCpiAccounts<'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