pub struct Transfer {
pub mint: Pubkey,
pub verification_config: Pubkey,
pub instructions_sysvar: Pubkey,
pub permanent_delegate_authority: Pubkey,
pub mint_account: Pubkey,
pub from_token_account: Pubkey,
pub to_token_account: Pubkey,
pub transfer_hook_program: Pubkey,
pub token_program: Pubkey,
}Expand description
Accounts.
Fields§
§mint: Pubkey§verification_config: Pubkey§instructions_sysvar: Pubkey§mint_account: Pubkey§from_token_account: Pubkey§to_token_account: Pubkey§transfer_hook_program: Pubkey§token_program: PubkeyImplementations§
Source§impl Transfer
impl Transfer
pub fn instruction(&self, args: TransferInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: TransferInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Transfer
impl RefUnwindSafe for Transfer
impl Send for Transfer
impl Sync for Transfer
impl Unpin for Transfer
impl UnsafeUnpin for Transfer
impl UnwindSafe for Transfer
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