pub struct StepSwapKeys {
pub token_swap_program: Pubkey,
pub token_program: Pubkey,
pub swap: Pubkey,
pub authority: Pubkey,
pub user_transfer_authority: Pubkey,
pub source: Pubkey,
pub swap_source: Pubkey,
pub swap_destination: Pubkey,
pub destination: Pubkey,
pub pool_mint: Pubkey,
pub pool_fee: Pubkey,
}Fields§
§token_swap_program: Pubkey§token_program: Pubkey§swap: Pubkey§source: Pubkey§swap_source: Pubkey§swap_destination: Pubkey§destination: Pubkey§pool_mint: Pubkey§pool_fee: PubkeyTrait Implementations§
Source§impl Clone for StepSwapKeys
impl Clone for StepSwapKeys
Source§fn clone(&self) -> StepSwapKeys
fn clone(&self) -> StepSwapKeys
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 StepSwapKeys
Source§impl Debug for StepSwapKeys
impl Debug for StepSwapKeys
Source§impl From<StepSwapAccounts<'_, '_>> for StepSwapKeys
impl From<StepSwapAccounts<'_, '_>> for StepSwapKeys
Source§fn from(accounts: StepSwapAccounts<'_, '_>) -> Self
fn from(accounts: StepSwapAccounts<'_, '_>) -> Self
Converts to this type from the input type.
Source§impl From<StepSwapKeys> for [AccountMeta; 11]
impl From<StepSwapKeys> for [AccountMeta; 11]
Source§fn from(keys: StepSwapKeys) -> Self
fn from(keys: StepSwapKeys) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StepSwapKeys
impl PartialEq for StepSwapKeys
Source§fn eq(&self, other: &StepSwapKeys) -> bool
fn eq(&self, other: &StepSwapKeys) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StepSwapKeys
Auto Trait Implementations§
impl Freeze for StepSwapKeys
impl RefUnwindSafe for StepSwapKeys
impl Send for StepSwapKeys
impl Sync for StepSwapKeys
impl Unpin for StepSwapKeys
impl UnsafeUnpin for StepSwapKeys
impl UnwindSafe for StepSwapKeys
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