pub struct SerumSwapAccounts<'me, 'info> {Show 16 fields
pub market_market: &'me AccountInfo<'info>,
pub market_open_orders: &'me AccountInfo<'info>,
pub market_request_queue: &'me AccountInfo<'info>,
pub market_event_queue: &'me AccountInfo<'info>,
pub market_bids: &'me AccountInfo<'info>,
pub market_asks: &'me AccountInfo<'info>,
pub market_coin_vault: &'me AccountInfo<'info>,
pub market_pc_vault: &'me AccountInfo<'info>,
pub market_vault_signer: &'me AccountInfo<'info>,
pub authority: &'me AccountInfo<'info>,
pub order_payer_token_account: &'me AccountInfo<'info>,
pub coin_wallet: &'me AccountInfo<'info>,
pub pc_wallet: &'me AccountInfo<'info>,
pub dex_program: &'me AccountInfo<'info>,
pub token_program: &'me AccountInfo<'info>,
pub rent: &'me AccountInfo<'info>,
}Fields§
§market_market: &'me AccountInfo<'info>§market_open_orders: &'me AccountInfo<'info>§market_request_queue: &'me AccountInfo<'info>§market_event_queue: &'me AccountInfo<'info>§market_bids: &'me AccountInfo<'info>§market_asks: &'me AccountInfo<'info>§market_coin_vault: &'me AccountInfo<'info>§market_pc_vault: &'me AccountInfo<'info>§market_vault_signer: &'me AccountInfo<'info>§order_payer_token_account: &'me AccountInfo<'info>§coin_wallet: &'me AccountInfo<'info>§pc_wallet: &'me AccountInfo<'info>§dex_program: &'me AccountInfo<'info>§token_program: &'me AccountInfo<'info>§rent: &'me AccountInfo<'info>Trait Implementations§
Source§impl<'me, 'info> Clone for SerumSwapAccounts<'me, 'info>
impl<'me, 'info> Clone for SerumSwapAccounts<'me, 'info>
Source§fn clone(&self) -> SerumSwapAccounts<'me, 'info>
fn clone(&self) -> SerumSwapAccounts<'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 SerumSwapAccounts<'me, 'info>
Source§impl<'me, 'info> Debug for SerumSwapAccounts<'me, 'info>
impl<'me, 'info> Debug for SerumSwapAccounts<'me, 'info>
Source§impl<'me, 'info> From<&'me [AccountInfo<'info>; 16]> for SerumSwapAccounts<'me, 'info>
impl<'me, 'info> From<&'me [AccountInfo<'info>; 16]> for SerumSwapAccounts<'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<SerumSwapAccounts<'_, '_>> for SerumSwapKeys
impl From<SerumSwapAccounts<'_, '_>> for SerumSwapKeys
Source§fn from(accounts: SerumSwapAccounts<'_, '_>) -> Self
fn from(accounts: SerumSwapAccounts<'_, '_>) -> Self
Converts to this type from the input type.
Source§impl<'info> From<SerumSwapAccounts<'_, 'info>> for [AccountInfo<'info>; 16]
impl<'info> From<SerumSwapAccounts<'_, 'info>> for [AccountInfo<'info>; 16]
Source§fn from(accounts: SerumSwapAccounts<'_, 'info>) -> Self
fn from(accounts: SerumSwapAccounts<'_, 'info>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'me, 'info> !RefUnwindSafe for SerumSwapAccounts<'me, 'info>
impl<'me, 'info> !Send for SerumSwapAccounts<'me, 'info>
impl<'me, 'info> !Sync for SerumSwapAccounts<'me, 'info>
impl<'me, 'info> !UnwindSafe for SerumSwapAccounts<'me, 'info>
impl<'me, 'info> Freeze for SerumSwapAccounts<'me, 'info>
impl<'me, 'info> Unpin for SerumSwapAccounts<'me, 'info>
impl<'me, 'info> UnsafeUnpin for SerumSwapAccounts<'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