pub struct PerpsRemoveLiquidityKeys {Show 14 fields
pub swap_program: Pubkey,
pub owner: Pubkey,
pub funding_or_receiving_account: Pubkey,
pub lp_token_account: Pubkey,
pub transfer_authority: Pubkey,
pub perpetuals: Pubkey,
pub pool: Pubkey,
pub custody: Pubkey,
pub custody_oracle_account: Pubkey,
pub custody_token_account: Pubkey,
pub lp_token_mint: Pubkey,
pub token_program: Pubkey,
pub event_authority: Pubkey,
pub program: Pubkey,
}Fields§
§swap_program: Pubkey§owner: Pubkey§funding_or_receiving_account: Pubkey§lp_token_account: Pubkey§perpetuals: Pubkey§pool: Pubkey§custody: Pubkey§custody_oracle_account: Pubkey§custody_token_account: Pubkey§lp_token_mint: Pubkey§token_program: Pubkey§program: PubkeyTrait Implementations§
Source§impl Clone for PerpsRemoveLiquidityKeys
impl Clone for PerpsRemoveLiquidityKeys
Source§fn clone(&self) -> PerpsRemoveLiquidityKeys
fn clone(&self) -> PerpsRemoveLiquidityKeys
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 PerpsRemoveLiquidityKeys
Source§impl Debug for PerpsRemoveLiquidityKeys
impl Debug for PerpsRemoveLiquidityKeys
Source§impl From<PerpsRemoveLiquidityAccounts<'_, '_>> for PerpsRemoveLiquidityKeys
impl From<PerpsRemoveLiquidityAccounts<'_, '_>> for PerpsRemoveLiquidityKeys
Source§fn from(accounts: PerpsRemoveLiquidityAccounts<'_, '_>) -> Self
fn from(accounts: PerpsRemoveLiquidityAccounts<'_, '_>) -> Self
Converts to this type from the input type.
Source§impl From<PerpsRemoveLiquidityKeys> for [AccountMeta; 14]
impl From<PerpsRemoveLiquidityKeys> for [AccountMeta; 14]
Source§fn from(keys: PerpsRemoveLiquidityKeys) -> Self
fn from(keys: PerpsRemoveLiquidityKeys) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PerpsRemoveLiquidityKeys
impl PartialEq for PerpsRemoveLiquidityKeys
Source§fn eq(&self, other: &PerpsRemoveLiquidityKeys) -> bool
fn eq(&self, other: &PerpsRemoveLiquidityKeys) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PerpsRemoveLiquidityKeys
Auto Trait Implementations§
impl Freeze for PerpsRemoveLiquidityKeys
impl RefUnwindSafe for PerpsRemoveLiquidityKeys
impl Send for PerpsRemoveLiquidityKeys
impl Sync for PerpsRemoveLiquidityKeys
impl Unpin for PerpsRemoveLiquidityKeys
impl UnsafeUnpin for PerpsRemoveLiquidityKeys
impl UnwindSafe for PerpsRemoveLiquidityKeys
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