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

authority: AccountInfo<'a>

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.