pub struct CykuraSwapAccounts<'me, 'info> {
pub swap_program: &'me AccountInfo<'info>,
pub signer: &'me AccountInfo<'info>,
pub factory_state: &'me AccountInfo<'info>,
pub pool_state: &'me AccountInfo<'info>,
pub input_token_account: &'me AccountInfo<'info>,
pub output_token_account: &'me AccountInfo<'info>,
pub input_vault: &'me AccountInfo<'info>,
pub output_vault: &'me AccountInfo<'info>,
pub last_observation_state: &'me AccountInfo<'info>,
pub core_program: &'me AccountInfo<'info>,
pub token_program: &'me AccountInfo<'info>,
}Fields§
§swap_program: &'me AccountInfo<'info>§signer: &'me AccountInfo<'info>§factory_state: &'me AccountInfo<'info>§pool_state: &'me AccountInfo<'info>§input_token_account: &'me AccountInfo<'info>§output_token_account: &'me AccountInfo<'info>§input_vault: &'me AccountInfo<'info>§output_vault: &'me AccountInfo<'info>§last_observation_state: &'me AccountInfo<'info>§core_program: &'me AccountInfo<'info>§token_program: &'me AccountInfo<'info>Trait Implementations§
Source§impl<'me, 'info> Clone for CykuraSwapAccounts<'me, 'info>
impl<'me, 'info> Clone for CykuraSwapAccounts<'me, 'info>
Source§fn clone(&self) -> CykuraSwapAccounts<'me, 'info>
fn clone(&self) -> CykuraSwapAccounts<'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 CykuraSwapAccounts<'me, 'info>
Source§impl<'me, 'info> Debug for CykuraSwapAccounts<'me, 'info>
impl<'me, 'info> Debug for CykuraSwapAccounts<'me, 'info>
Source§impl<'me, 'info> From<&'me [AccountInfo<'info>; 11]> for CykuraSwapAccounts<'me, 'info>
impl<'me, 'info> From<&'me [AccountInfo<'info>; 11]> for CykuraSwapAccounts<'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<CykuraSwapAccounts<'_, '_>> for CykuraSwapKeys
impl From<CykuraSwapAccounts<'_, '_>> for CykuraSwapKeys
Source§fn from(accounts: CykuraSwapAccounts<'_, '_>) -> Self
fn from(accounts: CykuraSwapAccounts<'_, '_>) -> Self
Converts to this type from the input type.
Source§impl<'info> From<CykuraSwapAccounts<'_, 'info>> for [AccountInfo<'info>; 11]
impl<'info> From<CykuraSwapAccounts<'_, 'info>> for [AccountInfo<'info>; 11]
Source§fn from(accounts: CykuraSwapAccounts<'_, 'info>) -> Self
fn from(accounts: CykuraSwapAccounts<'_, 'info>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'me, 'info> !RefUnwindSafe for CykuraSwapAccounts<'me, 'info>
impl<'me, 'info> !Send for CykuraSwapAccounts<'me, 'info>
impl<'me, 'info> !Sync for CykuraSwapAccounts<'me, 'info>
impl<'me, 'info> !UnwindSafe for CykuraSwapAccounts<'me, 'info>
impl<'me, 'info> Freeze for CykuraSwapAccounts<'me, 'info>
impl<'me, 'info> Unpin for CykuraSwapAccounts<'me, 'info>
impl<'me, 'info> UnsafeUnpin for CykuraSwapAccounts<'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