pub struct InitializeTokenAccount<'a, 'b, 'info> {
pub token_info: &'a AccountInfo<'info>,
pub mint: &'a AccountInfo<'info>,
pub authority: &'a AccountInfo<'info>,
pub payer: &'a AccountInfo<'info>,
pub system_program: &'a AccountInfo<'info>,
pub token_program: &'a AccountInfo<'info>,
pub signer_seeds: &'a [&'b [u8]],
}
Expand description
Struct that holds the accounts required for initializing a token account.
Fields§
§token_info: &'a AccountInfo<'info>
§mint: &'a AccountInfo<'info>
§payer: &'a AccountInfo<'info>
§system_program: &'a AccountInfo<'info>
§token_program: &'a AccountInfo<'info>
§signer_seeds: &'a [&'b [u8]]
Auto Trait Implementations§
impl<'a, 'b, 'info> Freeze for InitializeTokenAccount<'a, 'b, 'info>
impl<'a, 'b, 'info> !RefUnwindSafe for InitializeTokenAccount<'a, 'b, 'info>
impl<'a, 'b, 'info> !Send for InitializeTokenAccount<'a, 'b, 'info>
impl<'a, 'b, 'info> !Sync for InitializeTokenAccount<'a, 'b, 'info>
impl<'a, 'b, 'info> Unpin for InitializeTokenAccount<'a, 'b, 'info>
impl<'a, 'b, 'info> !UnwindSafe for InitializeTokenAccount<'a, 'b, 'info>
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