pub struct InitializeMerchantOperatorConfig {
pub payer: Pubkey,
pub authority: Pubkey,
pub merchant: Pubkey,
pub operator: Pubkey,
pub config: Pubkey,
pub system_program: Pubkey,
}Expand description
Accounts.
Fields§
§payer: PubkeyAuthority of the merchant
merchant: PubkeyMerchant PDA
operator: PubkeyOperator PDA
config: PubkeyThe MerchantOperatorConfig PDA being initialized
system_program: PubkeyImplementations§
Source§impl InitializeMerchantOperatorConfig
impl InitializeMerchantOperatorConfig
pub fn instruction( &self, args: InitializeMerchantOperatorConfigInstructionArgs, ) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: InitializeMerchantOperatorConfigInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InitializeMerchantOperatorConfig
impl RefUnwindSafe for InitializeMerchantOperatorConfig
impl Send for InitializeMerchantOperatorConfig
impl Sync for InitializeMerchantOperatorConfig
impl Unpin for InitializeMerchantOperatorConfig
impl UnwindSafe for InitializeMerchantOperatorConfig
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