Struct streamflow_sdk::instruction::transfer::TransferAccounts
source · [−]pub struct TransferAccounts<'a> {
pub authority: AccountInfo<'a>,
pub new_recipient: AccountInfo<'a>,
pub new_recipient_tokens: AccountInfo<'a>,
pub metadata: AccountInfo<'a>,
pub mint: AccountInfo<'a>,
pub rent: AccountInfo<'a>,
pub token_program: AccountInfo<'a>,
pub associated_token_program: AccountInfo<'a>,
pub system_program: AccountInfo<'a>,
}Fields
Account invoking cancel.
new_recipient: AccountInfo<'a>Wallet address of a new recipient
new_recipient_tokens: AccountInfo<'a>The associated token account address of a new_recipient
metadata: AccountInfo<'a>The account holding the stream parameters
mint: AccountInfo<'a>The SPL token mint account
rent: AccountInfo<'a>The system Rent account
token_program: AccountInfo<'a>The SPL token program
associated_token_program: AccountInfo<'a>The Associated Token program needed in case associated account for the new recipient is being created.
system_program: AccountInfo<'a>The Solana system program needed for account creation
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for TransferAccounts<'a>
impl<'a> !Send for TransferAccounts<'a>
impl<'a> !Sync for TransferAccounts<'a>
impl<'a> Unpin for TransferAccounts<'a>
impl<'a> !UnwindSafe for TransferAccounts<'a>
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more