pub struct BalansolSwapAccounts<'me, 'info> {Show 16 fields
pub swap_program: &'me AccountInfo<'info>,
pub authority: &'me AccountInfo<'info>,
pub pool: &'me AccountInfo<'info>,
pub tax_man: &'me AccountInfo<'info>,
pub bid_mint: &'me AccountInfo<'info>,
pub treasurer: &'me AccountInfo<'info>,
pub src_treasury: &'me AccountInfo<'info>,
pub src_associated_token_account: &'me AccountInfo<'info>,
pub ask_mint: &'me AccountInfo<'info>,
pub dst_treasury: &'me AccountInfo<'info>,
pub dst_associated_token_account: &'me AccountInfo<'info>,
pub dst_token_account_taxman: &'me AccountInfo<'info>,
pub system_program: &'me AccountInfo<'info>,
pub token_program: &'me AccountInfo<'info>,
pub associated_token_program: &'me AccountInfo<'info>,
pub rent: &'me AccountInfo<'info>,
}Fields§
§swap_program: &'me AccountInfo<'info>§pool: &'me AccountInfo<'info>§tax_man: &'me AccountInfo<'info>§bid_mint: &'me AccountInfo<'info>§treasurer: &'me AccountInfo<'info>§src_treasury: &'me AccountInfo<'info>§src_associated_token_account: &'me AccountInfo<'info>§ask_mint: &'me AccountInfo<'info>§dst_treasury: &'me AccountInfo<'info>§dst_associated_token_account: &'me AccountInfo<'info>§dst_token_account_taxman: &'me AccountInfo<'info>§system_program: &'me AccountInfo<'info>§token_program: &'me AccountInfo<'info>§associated_token_program: &'me AccountInfo<'info>§rent: &'me AccountInfo<'info>Trait Implementations§
Source§impl<'me, 'info> Clone for BalansolSwapAccounts<'me, 'info>
impl<'me, 'info> Clone for BalansolSwapAccounts<'me, 'info>
Source§fn clone(&self) -> BalansolSwapAccounts<'me, 'info>
fn clone(&self) -> BalansolSwapAccounts<'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 BalansolSwapAccounts<'me, 'info>
Source§impl<'me, 'info> Debug for BalansolSwapAccounts<'me, 'info>
impl<'me, 'info> Debug for BalansolSwapAccounts<'me, 'info>
Source§impl<'me, 'info> From<&'me [AccountInfo<'info>; 16]> for BalansolSwapAccounts<'me, 'info>
impl<'me, 'info> From<&'me [AccountInfo<'info>; 16]> for BalansolSwapAccounts<'me, 'info>
Source§fn from(arr: &'me [AccountInfo<'info>; 16]) -> Self
fn from(arr: &'me [AccountInfo<'info>; 16]) -> Self
Converts to this type from the input type.
Source§impl From<BalansolSwapAccounts<'_, '_>> for BalansolSwapKeys
impl From<BalansolSwapAccounts<'_, '_>> for BalansolSwapKeys
Source§fn from(accounts: BalansolSwapAccounts<'_, '_>) -> Self
fn from(accounts: BalansolSwapAccounts<'_, '_>) -> Self
Converts to this type from the input type.
Source§impl<'info> From<BalansolSwapAccounts<'_, 'info>> for [AccountInfo<'info>; 16]
impl<'info> From<BalansolSwapAccounts<'_, 'info>> for [AccountInfo<'info>; 16]
Source§fn from(accounts: BalansolSwapAccounts<'_, 'info>) -> Self
fn from(accounts: BalansolSwapAccounts<'_, 'info>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'me, 'info> !RefUnwindSafe for BalansolSwapAccounts<'me, 'info>
impl<'me, 'info> !Send for BalansolSwapAccounts<'me, 'info>
impl<'me, 'info> !Sync for BalansolSwapAccounts<'me, 'info>
impl<'me, 'info> !UnwindSafe for BalansolSwapAccounts<'me, 'info>
impl<'me, 'info> Freeze for BalansolSwapAccounts<'me, 'info>
impl<'me, 'info> Unpin for BalansolSwapAccounts<'me, 'info>
impl<'me, 'info> UnsafeUnpin for BalansolSwapAccounts<'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