pub struct WhirlpoolSwapKeys {
pub swap_program: Pubkey,
pub token_program: Pubkey,
pub token_authority: Pubkey,
pub whirlpool: Pubkey,
pub token_owner_account_a: Pubkey,
pub token_vault_a: Pubkey,
pub token_owner_account_b: Pubkey,
pub token_vault_b: Pubkey,
pub tick_array0: Pubkey,
pub tick_array1: Pubkey,
pub tick_array2: Pubkey,
pub oracle: Pubkey,
}Fields§
§swap_program: Pubkey§token_program: Pubkey§whirlpool: Pubkey§token_owner_account_a: Pubkey§token_vault_a: Pubkey§token_owner_account_b: Pubkey§token_vault_b: Pubkey§tick_array0: Pubkey§tick_array1: Pubkey§tick_array2: Pubkey§oracle: PubkeyTrait Implementations§
Source§impl Clone for WhirlpoolSwapKeys
impl Clone for WhirlpoolSwapKeys
Source§fn clone(&self) -> WhirlpoolSwapKeys
fn clone(&self) -> WhirlpoolSwapKeys
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 Copy for WhirlpoolSwapKeys
Source§impl Debug for WhirlpoolSwapKeys
impl Debug for WhirlpoolSwapKeys
Source§impl From<WhirlpoolSwapAccounts<'_, '_>> for WhirlpoolSwapKeys
impl From<WhirlpoolSwapAccounts<'_, '_>> for WhirlpoolSwapKeys
Source§fn from(accounts: WhirlpoolSwapAccounts<'_, '_>) -> Self
fn from(accounts: WhirlpoolSwapAccounts<'_, '_>) -> Self
Converts to this type from the input type.
Source§impl From<WhirlpoolSwapKeys> for [AccountMeta; 12]
impl From<WhirlpoolSwapKeys> for [AccountMeta; 12]
Source§fn from(keys: WhirlpoolSwapKeys) -> Self
fn from(keys: WhirlpoolSwapKeys) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WhirlpoolSwapKeys
impl PartialEq for WhirlpoolSwapKeys
Source§fn eq(&self, other: &WhirlpoolSwapKeys) -> bool
fn eq(&self, other: &WhirlpoolSwapKeys) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WhirlpoolSwapKeys
Auto Trait Implementations§
impl Freeze for WhirlpoolSwapKeys
impl RefUnwindSafe for WhirlpoolSwapKeys
impl Send for WhirlpoolSwapKeys
impl Sync for WhirlpoolSwapKeys
impl Unpin for WhirlpoolSwapKeys
impl UnsafeUnpin for WhirlpoolSwapKeys
impl UnwindSafe for WhirlpoolSwapKeys
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