pub struct ClosePayment {
pub payer: Pubkey,
pub payment: Pubkey,
pub operator_authority: Pubkey,
pub operator: Pubkey,
pub merchant: Pubkey,
pub buyer: Pubkey,
pub merchant_operator_config: Pubkey,
pub mint: Pubkey,
pub system_program: Pubkey,
}Expand description
Accounts.
Fields§
§payer: Pubkey§payment: PubkeyPayment PDA to close
operator: PubkeyOperator PDA
merchant: PubkeyMerchant PDA
buyer: PubkeyBuyer account
merchant_operator_config: PubkeyMerchant Operator Config PDA
mint: PubkeyToken mint
system_program: PubkeyImplementations§
Source§impl ClosePayment
impl ClosePayment
pub fn instruction(&self) -> Instruction
pub fn instruction_with_remaining_accounts( &self, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClosePayment
impl RefUnwindSafe for ClosePayment
impl Send for ClosePayment
impl Sync for ClosePayment
impl Unpin for ClosePayment
impl UnwindSafe for ClosePayment
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