pub struct StepSwapAccounts<'me, 'info> {
pub token_swap_program: &'me AccountInfo<'info>,
pub token_program: &'me AccountInfo<'info>,
pub swap: &'me AccountInfo<'info>,
pub authority: &'me AccountInfo<'info>,
pub user_transfer_authority: &'me AccountInfo<'info>,
pub source: &'me AccountInfo<'info>,
pub swap_source: &'me AccountInfo<'info>,
pub swap_destination: &'me AccountInfo<'info>,
pub destination: &'me AccountInfo<'info>,
pub pool_mint: &'me AccountInfo<'info>,
pub pool_fee: &'me AccountInfo<'info>,
}Fields§
§token_swap_program: &'me AccountInfo<'info>§token_program: &'me AccountInfo<'info>§swap: &'me AccountInfo<'info>§source: &'me AccountInfo<'info>§swap_source: &'me AccountInfo<'info>§swap_destination: &'me AccountInfo<'info>§destination: &'me AccountInfo<'info>§pool_mint: &'me AccountInfo<'info>§pool_fee: &'me AccountInfo<'info>Trait Implementations§
Source§impl<'me, 'info> Clone for StepSwapAccounts<'me, 'info>
impl<'me, 'info> Clone for StepSwapAccounts<'me, 'info>
Source§fn clone(&self) -> StepSwapAccounts<'me, 'info>
fn clone(&self) -> StepSwapAccounts<'me, 'info>
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<'me, 'info> Copy for StepSwapAccounts<'me, 'info>
Source§impl<'me, 'info> Debug for StepSwapAccounts<'me, 'info>
impl<'me, 'info> Debug for StepSwapAccounts<'me, 'info>
Source§impl<'me, 'info> From<&'me [AccountInfo<'info>; 11]> for StepSwapAccounts<'me, 'info>
impl<'me, 'info> From<&'me [AccountInfo<'info>; 11]> for StepSwapAccounts<'me, 'info>
Source§fn from(arr: &'me [AccountInfo<'info>; 11]) -> Self
fn from(arr: &'me [AccountInfo<'info>; 11]) -> Self
Converts to this type from the input type.
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<'info> From<StepSwapAccounts<'_, 'info>> for [AccountInfo<'info>; 11]
impl<'info> From<StepSwapAccounts<'_, 'info>> for [AccountInfo<'info>; 11]
Source§fn from(accounts: StepSwapAccounts<'_, 'info>) -> Self
fn from(accounts: StepSwapAccounts<'_, 'info>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'me, 'info> !RefUnwindSafe for StepSwapAccounts<'me, 'info>
impl<'me, 'info> !Send for StepSwapAccounts<'me, 'info>
impl<'me, 'info> !Sync for StepSwapAccounts<'me, 'info>
impl<'me, 'info> !UnwindSafe for StepSwapAccounts<'me, 'info>
impl<'me, 'info> Freeze for StepSwapAccounts<'me, 'info>
impl<'me, 'info> Unpin for StepSwapAccounts<'me, 'info>
impl<'me, 'info> UnsafeUnpin for StepSwapAccounts<'me, 'info>
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