pub struct CancelAccounts<'a> {
pub cancel_authority: AccountInfo<'a>,
pub sender: AccountInfo<'a>,
pub sender_tokens: AccountInfo<'a>,
pub recipient: AccountInfo<'a>,
pub recipient_tokens: AccountInfo<'a>,
pub metadata: AccountInfo<'a>,
pub escrow_tokens: AccountInfo<'a>,
pub mint: AccountInfo<'a>,
pub token_program: AccountInfo<'a>,
}Expand description
The account-holding struct for the stream cancel instruction
Fields§
Account invoking cancel. Must match sender.
sender: AccountInfo<'a>The main wallet address of the initializer
sender_tokens: AccountInfo<'a>The associated token account address of sender
recipient: AccountInfo<'a>The main wallet address of the recipient
recipient_tokens: AccountInfo<'a>The associated token account address of recipient
metadata: AccountInfo<'a>The account holding the stream metadata
escrow_tokens: AccountInfo<'a>The escrow account holding the stream funds
mint: AccountInfo<'a>The SPL token mint account
token_program: AccountInfo<'a>The SPL token program
Auto Trait Implementations§
impl<'a> Freeze for CancelAccounts<'a>
impl<'a> !RefUnwindSafe for CancelAccounts<'a>
impl<'a> !Send for CancelAccounts<'a>
impl<'a> !Sync for CancelAccounts<'a>
impl<'a> Unpin for CancelAccounts<'a>
impl<'a> !UnwindSafe for CancelAccounts<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more