pub struct ApproveUseAuthority {
pub use_authority_record: Pubkey,
pub owner: Pubkey,
pub payer: Pubkey,
pub user: Pubkey,
pub owner_token_account: Pubkey,
pub metadata: Pubkey,
pub mint: Pubkey,
pub burner: Pubkey,
pub token_program: Pubkey,
pub system_program: Pubkey,
pub rent: Option<Pubkey>,
}
Expand description
Accounts.
Fields§
Use Authority Record PDA
owner: Pubkey
Owner
payer: Pubkey
Payer
user: Pubkey
A Use Authority
owner_token_account: Pubkey
Owned Token Account Of Mint
metadata: Pubkey
Metadata account
mint: Pubkey
Mint of Metadata
burner: Pubkey
Program As Signer (Burner)
token_program: Pubkey
Token program
system_program: Pubkey
System program
rent: Option<Pubkey>
Rent info
Implementations§
source§impl ApproveUseAuthority
impl ApproveUseAuthority
pub fn instruction( &self, args: ApproveUseAuthorityInstructionArgs ) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: ApproveUseAuthorityInstructionArgs, remaining_accounts: &[AccountMeta] ) -> Instruction
Auto Trait Implementations§
impl RefUnwindSafe for ApproveUseAuthority
impl Send for ApproveUseAuthority
impl Sync for ApproveUseAuthority
impl Unpin for ApproveUseAuthority
impl UnwindSafe for ApproveUseAuthority
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