pub struct CreatePoolInstructionAccounts {Show 19 fields
pub pool: Pubkey,
pub global_config: Pubkey,
pub creator: Pubkey,
pub base_mint: Pubkey,
pub quote_mint: Pubkey,
pub lp_mint: Pubkey,
pub user_base_token_account: Pubkey,
pub user_quote_token_account: Pubkey,
pub user_pool_token_account: Pubkey,
pub pool_base_token_account: Pubkey,
pub pool_quote_token_account: Pubkey,
pub system_program: Pubkey,
pub token2022_program: Pubkey,
pub base_token_program: Pubkey,
pub quote_token_program: Pubkey,
pub associated_token_program: Pubkey,
pub event_authority: Pubkey,
pub program: Pubkey,
pub remaining: Vec<AccountMeta>,
}Fields§
§pool: Pubkey§global_config: Pubkey§creator: Pubkey§base_mint: Pubkey§quote_mint: Pubkey§lp_mint: Pubkey§user_base_token_account: Pubkey§user_quote_token_account: Pubkey§user_pool_token_account: Pubkey§pool_base_token_account: Pubkey§pool_quote_token_account: Pubkey§system_program: Pubkey§token2022_program: Pubkey§base_token_program: Pubkey§quote_token_program: Pubkey§associated_token_program: Pubkey§program: Pubkey§remaining: Vec<AccountMeta>Trait Implementations§
Source§impl Clone for CreatePoolInstructionAccounts
impl Clone for CreatePoolInstructionAccounts
Source§fn clone(&self) -> CreatePoolInstructionAccounts
fn clone(&self) -> CreatePoolInstructionAccounts
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 StructuralPartialEq for CreatePoolInstructionAccounts
Auto Trait Implementations§
impl Freeze for CreatePoolInstructionAccounts
impl RefUnwindSafe for CreatePoolInstructionAccounts
impl Send for CreatePoolInstructionAccounts
impl Sync for CreatePoolInstructionAccounts
impl Unpin for CreatePoolInstructionAccounts
impl UnsafeUnpin for CreatePoolInstructionAccounts
impl UnwindSafe for CreatePoolInstructionAccounts
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
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