pub struct CreateRateAccount {
pub mint: Pubkey,
pub verification_config_or_mint_authority: Pubkey,
pub instructions_sysvar_or_creator: Pubkey,
pub payer: Pubkey,
pub rate_account: Pubkey,
pub mint_from: Pubkey,
pub mint_to: Pubkey,
pub system_program: Pubkey,
}Expand description
Accounts.
Fields§
§mint: Pubkey§instructions_sysvar_or_creator: Pubkey§payer: Pubkey§rate_account: Pubkey§mint_from: Pubkey§mint_to: Pubkey§system_program: PubkeyImplementations§
Source§impl CreateRateAccount
impl CreateRateAccount
pub fn instruction(&self, args: CreateRateAccountInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: CreateRateAccountInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CreateRateAccount
impl RefUnwindSafe for CreateRateAccount
impl Send for CreateRateAccount
impl Sync for CreateRateAccount
impl Unpin for CreateRateAccount
impl UnsafeUnpin for CreateRateAccount
impl UnwindSafe for CreateRateAccount
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