pub struct CloseClaimReceiptAccountBuilder { /* private fields */ }Expand description
Instruction builder for CloseClaimReceiptAccount.
§Accounts:
[]mint[]verification_config_or_mint_authority[]instructions_sysvar_or_creator[writable]receipt_account[writable]destination[]mint_account[]eligible_token_account[optional]proof_account
Implementations§
Source§impl CloseClaimReceiptAccountBuilder
impl CloseClaimReceiptAccountBuilder
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 eligible_token_account( &mut self, eligible_token_account: Pubkey, ) -> &mut Self
Sourcepub fn proof_account(&mut self, proof_account: Option<Pubkey>) -> &mut Self
pub fn proof_account(&mut self, proof_account: Option<Pubkey>) -> &mut Self
[optional account]
pub fn close_claim_receipt_args( &mut self, close_claim_receipt_args: CloseClaimReceiptArgs, ) -> &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 CloseClaimReceiptAccountBuilder
impl Clone for CloseClaimReceiptAccountBuilder
Source§fn clone(&self) -> CloseClaimReceiptAccountBuilder
fn clone(&self) -> CloseClaimReceiptAccountBuilder
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 CloseClaimReceiptAccountBuilder
impl Default for CloseClaimReceiptAccountBuilder
Source§fn default() -> CloseClaimReceiptAccountBuilder
fn default() -> CloseClaimReceiptAccountBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CloseClaimReceiptAccountBuilder
impl RefUnwindSafe for CloseClaimReceiptAccountBuilder
impl Send for CloseClaimReceiptAccountBuilder
impl Sync for CloseClaimReceiptAccountBuilder
impl Unpin for CloseClaimReceiptAccountBuilder
impl UnsafeUnpin for CloseClaimReceiptAccountBuilder
impl UnwindSafe for CloseClaimReceiptAccountBuilder
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