pub struct InitializeConfig {Show 13 fields
pub admin_wallet: Pubkey,
pub config_account: Pubkey,
pub config_token_account: Pubkey,
pub mint_account: Pubkey,
pub payment_mint_account: Pubkey,
pub metadata_account: Pubkey,
pub master_edition_account: Pubkey,
pub usdc_mxn_feed_account: Pubkey,
pub usdc_usd_feed_account: Pubkey,
pub token_program: Pubkey,
pub associated_token_program: Pubkey,
pub metadata_program: Pubkey,
pub system_program: Pubkey,
}Expand description
Accounts.
Fields§
§admin_wallet: Pubkey§config_account: Pubkey§config_token_account: Pubkey§mint_account: Pubkey§payment_mint_account: Pubkey§metadata_account: Pubkey§master_edition_account: Pubkey§usdc_mxn_feed_account: Pubkey§usdc_usd_feed_account: Pubkey§token_program: Pubkey§associated_token_program: Pubkey§metadata_program: Pubkey§system_program: PubkeyImplementations§
Source§impl InitializeConfig
impl InitializeConfig
pub fn instruction(&self, args: InitializeConfigInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: InitializeConfigInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for InitializeConfig
impl RefUnwindSafe for InitializeConfig
impl Send for InitializeConfig
impl Sync for InitializeConfig
impl Unpin for InitializeConfig
impl UnwindSafe for InitializeConfig
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> 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