pub struct DeltafiSwapKeys {Show 13 fields
pub swap_program: Pubkey,
pub market_config: Pubkey,
pub swap_info: Pubkey,
pub user_source_token: Pubkey,
pub user_destination_token: Pubkey,
pub swap_source_token: Pubkey,
pub swap_destination_token: Pubkey,
pub deltafi_user: Pubkey,
pub admin_destination_token: Pubkey,
pub pyth_price_base: Pubkey,
pub pyth_price_quote: Pubkey,
pub user_authority: Pubkey,
pub token_program: Pubkey,
}Fields§
§swap_program: Pubkey§market_config: Pubkey§swap_info: Pubkey§user_source_token: Pubkey§user_destination_token: Pubkey§swap_source_token: Pubkey§swap_destination_token: Pubkey§deltafi_user: Pubkey§admin_destination_token: Pubkey§pyth_price_base: Pubkey§pyth_price_quote: Pubkey§token_program: PubkeyTrait Implementations§
Source§impl Clone for DeltafiSwapKeys
impl Clone for DeltafiSwapKeys
Source§fn clone(&self) -> DeltafiSwapKeys
fn clone(&self) -> DeltafiSwapKeys
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 DeltafiSwapKeys
Source§impl Debug for DeltafiSwapKeys
impl Debug for DeltafiSwapKeys
Source§impl From<DeltafiSwapAccounts<'_, '_>> for DeltafiSwapKeys
impl From<DeltafiSwapAccounts<'_, '_>> for DeltafiSwapKeys
Source§fn from(accounts: DeltafiSwapAccounts<'_, '_>) -> Self
fn from(accounts: DeltafiSwapAccounts<'_, '_>) -> Self
Converts to this type from the input type.
Source§impl From<DeltafiSwapKeys> for [AccountMeta; 13]
impl From<DeltafiSwapKeys> for [AccountMeta; 13]
Source§fn from(keys: DeltafiSwapKeys) -> Self
fn from(keys: DeltafiSwapKeys) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DeltafiSwapKeys
impl PartialEq for DeltafiSwapKeys
Source§fn eq(&self, other: &DeltafiSwapKeys) -> bool
fn eq(&self, other: &DeltafiSwapKeys) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeltafiSwapKeys
Auto Trait Implementations§
impl Freeze for DeltafiSwapKeys
impl RefUnwindSafe for DeltafiSwapKeys
impl Send for DeltafiSwapKeys
impl Sync for DeltafiSwapKeys
impl Unpin for DeltafiSwapKeys
impl UnsafeUnpin for DeltafiSwapKeys
impl UnwindSafe for DeltafiSwapKeys
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