pub struct CreateEscrowAccount {
pub escrow: Pubkey,
pub metadata: Pubkey,
pub mint: Pubkey,
pub token_account: Pubkey,
pub edition: Pubkey,
pub payer: Pubkey,
pub system_program: Pubkey,
pub sysvar_instructions: Pubkey,
pub authority: Option<Pubkey>,
}Expand description
Accounts.
Fields§
§escrow: PubkeyEscrow account
metadata: PubkeyMetadata account
mint: PubkeyMint account
token_account: PubkeyToken account of the token
edition: PubkeyEdition account
payer: PubkeyWallet paying for the transaction and new account
system_program: PubkeySystem program
sysvar_instructions: PubkeyInstructions sysvar account
Authority/creator of the escrow account
Implementations§
Source§impl CreateEscrowAccount
impl CreateEscrowAccount
pub fn instruction(&self) -> Instruction
pub fn instruction_with_remaining_accounts( &self, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for CreateEscrowAccount
impl RefUnwindSafe for CreateEscrowAccount
impl Send for CreateEscrowAccount
impl Sync for CreateEscrowAccount
impl Unpin for CreateEscrowAccount
impl UnsafeUnpin for CreateEscrowAccount
impl UnwindSafe for CreateEscrowAccount
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