pub struct LifinitySwapKeys {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 pyth_account: Pubkey,
pub pyth_pc_account: Pubkey,
pub config_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§pyth_account: Pubkey§pyth_pc_account: Pubkey§config_account: PubkeyTrait Implementations§
Source§impl Clone for LifinitySwapKeys
impl Clone for LifinitySwapKeys
Source§fn clone(&self) -> LifinitySwapKeys
fn clone(&self) -> LifinitySwapKeys
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 LifinitySwapKeys
Source§impl Debug for LifinitySwapKeys
impl Debug for LifinitySwapKeys
Source§impl From<LifinitySwapAccounts<'_, '_>> for LifinitySwapKeys
impl From<LifinitySwapAccounts<'_, '_>> for LifinitySwapKeys
Source§fn from(accounts: LifinitySwapAccounts<'_, '_>) -> Self
fn from(accounts: LifinitySwapAccounts<'_, '_>) -> Self
Converts to this type from the input type.
Source§impl From<LifinitySwapKeys> for [AccountMeta; 14]
impl From<LifinitySwapKeys> for [AccountMeta; 14]
Source§fn from(keys: LifinitySwapKeys) -> Self
fn from(keys: LifinitySwapKeys) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LifinitySwapKeys
impl PartialEq for LifinitySwapKeys
Source§fn eq(&self, other: &LifinitySwapKeys) -> bool
fn eq(&self, other: &LifinitySwapKeys) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LifinitySwapKeys
Auto Trait Implementations§
impl Freeze for LifinitySwapKeys
impl RefUnwindSafe for LifinitySwapKeys
impl Send for LifinitySwapKeys
impl Sync for LifinitySwapKeys
impl Unpin for LifinitySwapKeys
impl UnsafeUnpin for LifinitySwapKeys
impl UnwindSafe for LifinitySwapKeys
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