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: Pubkey
Escrow account
metadata: Pubkey
Metadata account
mint: Pubkey
Mint account
token_account: Pubkey
Token account of the token
edition: Pubkey
Edition account
payer: Pubkey
Wallet paying for the transaction and new account
system_program: Pubkey
System program
sysvar_instructions: Pubkey
Instructions 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 RefUnwindSafe for CreateEscrowAccount
impl Send for CreateEscrowAccount
impl Sync for CreateEscrowAccount
impl Unpin 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