pub struct CreateIdempotent<'a> {
pub payer: &'a AccountView,
pub associated_account: &'a AccountView,
pub wallet: &'a AccountView,
pub mint: &'a AccountView,
pub system_program: &'a AccountView,
pub token_program: &'a AccountView,
}Expand description
Builder for Associated Token Account CreateIdempotent (instruction 1).
Fields§
§payer: &'a AccountView§associated_account: &'a AccountView§wallet: &'a AccountView§mint: &'a AccountView§system_program: &'a AccountView§token_program: &'a AccountViewImplementations§
Source§impl CreateIdempotent<'_>
impl CreateIdempotent<'_>
pub fn invoke(&self) -> Result<(), ProgramError>
pub fn invoke_signed( &self, signers: &[Signer<'_, '_>], ) -> Result<(), ProgramError>
Auto Trait Implementations§
impl<'a> Freeze for CreateIdempotent<'a>
impl<'a> RefUnwindSafe for CreateIdempotent<'a>
impl<'a> Send for CreateIdempotent<'a>
impl<'a> Sync for CreateIdempotent<'a>
impl<'a> Unpin for CreateIdempotent<'a>
impl<'a> UnsafeUnpin for CreateIdempotent<'a>
impl<'a> UnwindSafe for CreateIdempotent<'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