pub struct Split {
pub mint: Pubkey,
pub verification_config: Pubkey,
pub instructions_sysvar: Pubkey,
pub mint_authority: Pubkey,
pub permanent_delegate: Pubkey,
pub payer: Pubkey,
pub mint_account: Pubkey,
pub token_account: 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_account: Pubkey§token_account: Pubkey§rate_account: Pubkey§receipt_account: Pubkey§token_program: Pubkey§system_program: PubkeyImplementations§
Source§impl Split
impl Split
pub fn instruction(&self, args: SplitInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: SplitInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Split
impl RefUnwindSafe for Split
impl Send for Split
impl Sync for Split
impl Unpin for Split
impl UnsafeUnpin for Split
impl UnwindSafe for Split
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