pub struct TransferAllFromEscrowToATA<'a, 'info> { /* private fields */ }
Implementations§
Source§impl<'a, 'info> TransferAllFromEscrowToATA<'a, 'info>
impl<'a, 'info> TransferAllFromEscrowToATA<'a, 'info>
Sourcepub fn builder() -> TransferAllFromEscrowToATABuilder<'a, 'info, ((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
pub fn builder() -> TransferAllFromEscrowToATABuilder<'a, 'info, ((), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building TransferAllFromEscrowToATA
.
On the builder, call .store_wallet(...)
, .store_wallet_signer(...)
, .system_program(...)
, .token_program(...)
, .associated_token_program(...)
, .payer(...)
, .owner(...)
, .mint(...)
, .decimals(...)
, .ata(...)
, .escrow(...)
, .escrow_authority(...)
, .escrow_authority_seeds(...)
, .init_if_needed(...)
, .skip_owner_check(...)
(optional), .keep_escrow(...)
(optional), .rent_receiver(...)
, .should_unwrap_native(...)
to set the values of the fields.
Finally, call .build()
to create the instance of TransferAllFromEscrowToATA
.
Auto Trait Implementations§
impl<'a, 'info> Freeze for TransferAllFromEscrowToATA<'a, 'info>
impl<'a, 'info> !RefUnwindSafe for TransferAllFromEscrowToATA<'a, 'info>
impl<'a, 'info> !Send for TransferAllFromEscrowToATA<'a, 'info>
impl<'a, 'info> !Sync for TransferAllFromEscrowToATA<'a, 'info>
impl<'a, 'info> Unpin for TransferAllFromEscrowToATA<'a, 'info>
impl<'a, 'info> !UnwindSafe for TransferAllFromEscrowToATA<'a, '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