pub struct GoosefxV2SwapAccounts<'me, 'info> {Show 20 fields
pub swap_program: &'me AccountInfo<'info>,
pub pair: &'me AccountInfo<'info>,
pub pool_registry: &'me AccountInfo<'info>,
pub user_wallet: &'me AccountInfo<'info>,
pub ssl_pool_in_signer: &'me AccountInfo<'info>,
pub ssl_pool_out_signer: &'me AccountInfo<'info>,
pub user_ata_in: &'me AccountInfo<'info>,
pub user_ata_out: &'me AccountInfo<'info>,
pub ssl_out_main_vault: &'me AccountInfo<'info>,
pub ssl_out_secondary_vault: &'me AccountInfo<'info>,
pub ssl_in_main_vault: &'me AccountInfo<'info>,
pub ssl_in_secondary_vault: &'me AccountInfo<'info>,
pub ssl_out_fee_vault: &'me AccountInfo<'info>,
pub fee_destination: &'me AccountInfo<'info>,
pub output_token_price_history: &'me AccountInfo<'info>,
pub output_token_oracle: &'me AccountInfo<'info>,
pub input_token_price_history: &'me AccountInfo<'info>,
pub input_token_oracle: &'me AccountInfo<'info>,
pub event_emitter: &'me AccountInfo<'info>,
pub token_program: &'me AccountInfo<'info>,
}Fields§
§swap_program: &'me AccountInfo<'info>§pair: &'me AccountInfo<'info>§pool_registry: &'me AccountInfo<'info>§user_wallet: &'me AccountInfo<'info>§ssl_pool_in_signer: &'me AccountInfo<'info>§ssl_pool_out_signer: &'me AccountInfo<'info>§user_ata_in: &'me AccountInfo<'info>§user_ata_out: &'me AccountInfo<'info>§ssl_out_main_vault: &'me AccountInfo<'info>§ssl_out_secondary_vault: &'me AccountInfo<'info>§ssl_in_main_vault: &'me AccountInfo<'info>§ssl_in_secondary_vault: &'me AccountInfo<'info>§ssl_out_fee_vault: &'me AccountInfo<'info>§fee_destination: &'me AccountInfo<'info>§output_token_price_history: &'me AccountInfo<'info>§output_token_oracle: &'me AccountInfo<'info>§input_token_price_history: &'me AccountInfo<'info>§input_token_oracle: &'me AccountInfo<'info>§event_emitter: &'me AccountInfo<'info>§token_program: &'me AccountInfo<'info>Trait Implementations§
Source§impl<'me, 'info> Clone for GoosefxV2SwapAccounts<'me, 'info>
impl<'me, 'info> Clone for GoosefxV2SwapAccounts<'me, 'info>
Source§fn clone(&self) -> GoosefxV2SwapAccounts<'me, 'info>
fn clone(&self) -> GoosefxV2SwapAccounts<'me, 'info>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'me, 'info> Copy for GoosefxV2SwapAccounts<'me, 'info>
Source§impl<'me, 'info> Debug for GoosefxV2SwapAccounts<'me, 'info>
impl<'me, 'info> Debug for GoosefxV2SwapAccounts<'me, 'info>
Source§impl<'me, 'info> From<&'me [AccountInfo<'info>; 20]> for GoosefxV2SwapAccounts<'me, 'info>
impl<'me, 'info> From<&'me [AccountInfo<'info>; 20]> for GoosefxV2SwapAccounts<'me, 'info>
Source§fn from(arr: &'me [AccountInfo<'info>; 20]) -> Self
fn from(arr: &'me [AccountInfo<'info>; 20]) -> Self
Converts to this type from the input type.
Source§impl From<GoosefxV2SwapAccounts<'_, '_>> for GoosefxV2SwapKeys
impl From<GoosefxV2SwapAccounts<'_, '_>> for GoosefxV2SwapKeys
Source§fn from(accounts: GoosefxV2SwapAccounts<'_, '_>) -> Self
fn from(accounts: GoosefxV2SwapAccounts<'_, '_>) -> Self
Converts to this type from the input type.
Source§impl<'info> From<GoosefxV2SwapAccounts<'_, 'info>> for [AccountInfo<'info>; 20]
impl<'info> From<GoosefxV2SwapAccounts<'_, 'info>> for [AccountInfo<'info>; 20]
Source§fn from(accounts: GoosefxV2SwapAccounts<'_, 'info>) -> Self
fn from(accounts: GoosefxV2SwapAccounts<'_, 'info>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'me, 'info> !RefUnwindSafe for GoosefxV2SwapAccounts<'me, 'info>
impl<'me, 'info> !Send for GoosefxV2SwapAccounts<'me, 'info>
impl<'me, 'info> !Sync for GoosefxV2SwapAccounts<'me, 'info>
impl<'me, 'info> !UnwindSafe for GoosefxV2SwapAccounts<'me, 'info>
impl<'me, 'info> Freeze for GoosefxV2SwapAccounts<'me, 'info>
impl<'me, 'info> Unpin for GoosefxV2SwapAccounts<'me, 'info>
impl<'me, 'info> UnsafeUnpin for GoosefxV2SwapAccounts<'me, 'info>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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