Struct mpl_token_metadata::instructions::Utilize
source · pub struct Utilize {
pub metadata: Pubkey,
pub token_account: Pubkey,
pub mint: Pubkey,
pub use_authority: Pubkey,
pub owner: Pubkey,
pub token_program: Pubkey,
pub ata_program: Pubkey,
pub system_program: Pubkey,
pub rent: Pubkey,
pub use_authority_record: Option<Pubkey>,
pub burner: Option<Pubkey>,
}
Expand description
Accounts.
Fields§
§metadata: Pubkey
Metadata account
token_account: Pubkey
Token Account Of NFT
mint: Pubkey
Mint of the Metadata
A Use Authority / Can be the current Owner of the NFT
owner: Pubkey
Owner
token_program: Pubkey
Token program
ata_program: Pubkey
Associated Token program
system_program: Pubkey
System program
rent: Pubkey
Rent info
Use Authority Record PDA If present the program Assumes a delegated use authority
burner: Option<Pubkey>
Program As Signer (Burner)
Implementations§
source§impl Utilize
impl Utilize
pub fn instruction(&self, args: UtilizeInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: UtilizeInstructionArgs, remaining_accounts: &[InstructionAccount] ) -> Instruction
Auto Trait Implementations§
impl RefUnwindSafe for Utilize
impl Send for Utilize
impl Sync for Utilize
impl Unpin for Utilize
impl UnwindSafe for Utilize
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