pub struct Convert {Show 14 fields
pub mint: Pubkey,
pub verification_config: Pubkey,
pub instructions_sysvar: Pubkey,
pub mint_authority: Pubkey,
pub permanent_delegate: Pubkey,
pub payer: Pubkey,
pub mint_from: Pubkey,
pub mint_to: Pubkey,
pub token_account_from: Pubkey,
pub token_account_to: Pubkey,
pub rate_account: Pubkey,
pub receipt_account: Pubkey,
pub token_program: Pubkey,
pub system_program: Pubkey,
}Expand description
Accounts.
Fields§
§mint: Pubkey§verification_config: Pubkey§instructions_sysvar: Pubkey§permanent_delegate: Pubkey§payer: Pubkey§mint_from: Pubkey§mint_to: Pubkey§token_account_from: Pubkey§token_account_to: Pubkey§rate_account: Pubkey§receipt_account: Pubkey§token_program: Pubkey§system_program: PubkeyImplementations§
Source§impl Convert
impl Convert
pub fn instruction(&self, args: ConvertInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: ConvertInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Convert
impl RefUnwindSafe for Convert
impl Send for Convert
impl Sync for Convert
impl Unpin for Convert
impl UnsafeUnpin for Convert
impl UnwindSafe for Convert
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