pub struct MigrateV2InstructionAccounts {Show 28 fields
pub global: Pubkey,
pub withdraw_authority: Pubkey,
pub base_mint: Pubkey,
pub quote_mint: Pubkey,
pub bonding_curve: Pubkey,
pub associated_base_bonding_curve: Pubkey,
pub associated_quote_bonding_curve: Pubkey,
pub user: Pubkey,
pub system_program: Pubkey,
pub pump_amm: Pubkey,
pub pool: Pubkey,
pub pool_authority: Pubkey,
pub pool_authority_mint_account: Pubkey,
pub pool_authority_quote_account: Pubkey,
pub amm_global_config: Pubkey,
pub lp_mint: Pubkey,
pub user_pool_token_account: Pubkey,
pub pool_base_token_account: Pubkey,
pub pool_quote_token_account: Pubkey,
pub base_token_program: Pubkey,
pub quote_token_program: Pubkey,
pub token2022_program: Pubkey,
pub associated_token_program: Pubkey,
pub pump_amm_event_authority: Pubkey,
pub rent: Pubkey,
pub event_authority: Pubkey,
pub program: Pubkey,
pub remaining: Vec<AccountMeta>,
}Fields§
§global: Pubkey§base_mint: Pubkey§quote_mint: Pubkey§bonding_curve: Pubkey§associated_base_bonding_curve: Pubkey§associated_quote_bonding_curve: Pubkey§user: Pubkey§system_program: Pubkey§pump_amm: Pubkey§pool: Pubkey§amm_global_config: Pubkey§lp_mint: Pubkey§user_pool_token_account: Pubkey§pool_base_token_account: Pubkey§pool_quote_token_account: Pubkey§base_token_program: Pubkey§quote_token_program: Pubkey§token2022_program: Pubkey§associated_token_program: Pubkey§rent: Pubkey§program: Pubkey§remaining: Vec<AccountMeta>Trait Implementations§
Source§impl Clone for MigrateV2InstructionAccounts
impl Clone for MigrateV2InstructionAccounts
Source§fn clone(&self) -> MigrateV2InstructionAccounts
fn clone(&self) -> MigrateV2InstructionAccounts
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 moreSource§impl Debug for MigrateV2InstructionAccounts
impl Debug for MigrateV2InstructionAccounts
impl StructuralPartialEq for MigrateV2InstructionAccounts
Auto Trait Implementations§
impl Freeze for MigrateV2InstructionAccounts
impl RefUnwindSafe for MigrateV2InstructionAccounts
impl Send for MigrateV2InstructionAccounts
impl Sync for MigrateV2InstructionAccounts
impl Unpin for MigrateV2InstructionAccounts
impl UnsafeUnpin for MigrateV2InstructionAccounts
impl UnwindSafe for MigrateV2InstructionAccounts
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