pub struct SerumSwapKeys {Show 16 fields
pub market_market: Pubkey,
pub market_open_orders: Pubkey,
pub market_request_queue: Pubkey,
pub market_event_queue: Pubkey,
pub market_bids: Pubkey,
pub market_asks: Pubkey,
pub market_coin_vault: Pubkey,
pub market_pc_vault: Pubkey,
pub market_vault_signer: Pubkey,
pub authority: Pubkey,
pub order_payer_token_account: Pubkey,
pub coin_wallet: Pubkey,
pub pc_wallet: Pubkey,
pub dex_program: Pubkey,
pub token_program: Pubkey,
pub rent: Pubkey,
}Fields§
§market_market: Pubkey§market_open_orders: Pubkey§market_request_queue: Pubkey§market_event_queue: Pubkey§market_bids: Pubkey§market_asks: Pubkey§market_coin_vault: Pubkey§market_pc_vault: Pubkey§market_vault_signer: Pubkey§order_payer_token_account: Pubkey§coin_wallet: Pubkey§pc_wallet: Pubkey§dex_program: Pubkey§token_program: Pubkey§rent: PubkeyTrait Implementations§
Source§impl Clone for SerumSwapKeys
impl Clone for SerumSwapKeys
Source§fn clone(&self) -> SerumSwapKeys
fn clone(&self) -> SerumSwapKeys
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 SerumSwapKeys
Source§impl Debug for SerumSwapKeys
impl Debug for SerumSwapKeys
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 From<SerumSwapKeys> for [AccountMeta; 16]
impl From<SerumSwapKeys> for [AccountMeta; 16]
Source§fn from(keys: SerumSwapKeys) -> Self
fn from(keys: SerumSwapKeys) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SerumSwapKeys
impl PartialEq for SerumSwapKeys
Source§fn eq(&self, other: &SerumSwapKeys) -> bool
fn eq(&self, other: &SerumSwapKeys) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SerumSwapKeys
Auto Trait Implementations§
impl Freeze for SerumSwapKeys
impl RefUnwindSafe for SerumSwapKeys
impl Send for SerumSwapKeys
impl Sync for SerumSwapKeys
impl Unpin for SerumSwapKeys
impl UnsafeUnpin for SerumSwapKeys
impl UnwindSafe for SerumSwapKeys
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