pub struct LifinityV2SwapKeys {Show 14 fields
pub swap_program: Pubkey,
pub authority: Pubkey,
pub amm: Pubkey,
pub user_transfer_authority: Pubkey,
pub source_info: Pubkey,
pub destination_info: Pubkey,
pub swap_source: Pubkey,
pub swap_destination: Pubkey,
pub pool_mint: Pubkey,
pub fee_account: Pubkey,
pub token_program: Pubkey,
pub oracle_main_account: Pubkey,
pub oracle_sub_account: Pubkey,
pub oracle_pc_account: Pubkey,
}Fields§
§swap_program: Pubkey§amm: Pubkey§source_info: Pubkey§destination_info: Pubkey§swap_source: Pubkey§swap_destination: Pubkey§pool_mint: Pubkey§fee_account: Pubkey§token_program: Pubkey§oracle_main_account: Pubkey§oracle_sub_account: Pubkey§oracle_pc_account: PubkeyTrait Implementations§
Source§impl Clone for LifinityV2SwapKeys
impl Clone for LifinityV2SwapKeys
Source§fn clone(&self) -> LifinityV2SwapKeys
fn clone(&self) -> LifinityV2SwapKeys
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 LifinityV2SwapKeys
Source§impl Debug for LifinityV2SwapKeys
impl Debug for LifinityV2SwapKeys
Source§impl From<LifinityV2SwapAccounts<'_, '_>> for LifinityV2SwapKeys
impl From<LifinityV2SwapAccounts<'_, '_>> for LifinityV2SwapKeys
Source§fn from(accounts: LifinityV2SwapAccounts<'_, '_>) -> Self
fn from(accounts: LifinityV2SwapAccounts<'_, '_>) -> Self
Converts to this type from the input type.
Source§impl From<LifinityV2SwapKeys> for [AccountMeta; 14]
impl From<LifinityV2SwapKeys> for [AccountMeta; 14]
Source§fn from(keys: LifinityV2SwapKeys) -> Self
fn from(keys: LifinityV2SwapKeys) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LifinityV2SwapKeys
impl PartialEq for LifinityV2SwapKeys
Source§fn eq(&self, other: &LifinityV2SwapKeys) -> bool
fn eq(&self, other: &LifinityV2SwapKeys) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LifinityV2SwapKeys
Auto Trait Implementations§
impl Freeze for LifinityV2SwapKeys
impl RefUnwindSafe for LifinityV2SwapKeys
impl Send for LifinityV2SwapKeys
impl Sync for LifinityV2SwapKeys
impl Unpin for LifinityV2SwapKeys
impl UnsafeUnpin for LifinityV2SwapKeys
impl UnwindSafe for LifinityV2SwapKeys
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