pub struct CloseActionReceiptAccountBuilder { /* private fields */ }Expand description
Instruction builder for CloseActionReceiptAccount.
§Accounts:
[]mint[]verification_config_or_mint_authority[]instructions_sysvar_or_creator[writable]receipt_account[writable]destination[]mint_account
Implementations§
Source§impl CloseActionReceiptAccountBuilder
impl CloseActionReceiptAccountBuilder
pub fn new() -> Self
pub fn mint(&mut self, mint: Pubkey) -> &mut Self
pub fn instructions_sysvar_or_creator( &mut self, instructions_sysvar_or_creator: Pubkey, ) -> &mut Self
pub fn receipt_account(&mut self, receipt_account: Pubkey) -> &mut Self
pub fn destination(&mut self, destination: Pubkey) -> &mut Self
pub fn mint_account(&mut self, mint_account: Pubkey) -> &mut Self
pub fn close_action_receipt_args( &mut self, close_action_receipt_args: CloseActionReceiptArgs, ) -> &mut Self
Sourcepub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
pub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
Add an additional account to the instruction.
Sourcepub fn add_remaining_accounts(&mut self, accounts: &[AccountMeta]) -> &mut Self
pub fn add_remaining_accounts(&mut self, accounts: &[AccountMeta]) -> &mut Self
Add additional accounts to the instruction.
pub fn instruction(&self) -> Instruction
Trait Implementations§
Source§impl Clone for CloseActionReceiptAccountBuilder
impl Clone for CloseActionReceiptAccountBuilder
Source§fn clone(&self) -> CloseActionReceiptAccountBuilder
fn clone(&self) -> CloseActionReceiptAccountBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CloseActionReceiptAccountBuilder
impl Default for CloseActionReceiptAccountBuilder
Source§fn default() -> CloseActionReceiptAccountBuilder
fn default() -> CloseActionReceiptAccountBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CloseActionReceiptAccountBuilder
impl RefUnwindSafe for CloseActionReceiptAccountBuilder
impl Send for CloseActionReceiptAccountBuilder
impl Sync for CloseActionReceiptAccountBuilder
impl Unpin for CloseActionReceiptAccountBuilder
impl UnsafeUnpin for CloseActionReceiptAccountBuilder
impl UnwindSafe for CloseActionReceiptAccountBuilder
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