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: PubkeyMetadata account
token_account: PubkeyToken Account Of NFT
mint: PubkeyMint of the Metadata
A Use Authority / Can be the current Owner of the NFT
owner: PubkeyOwner
token_program: PubkeyToken program
ata_program: PubkeyAssociated Token program
system_program: PubkeySystem program
rent: PubkeyRent 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: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for Utilize
impl RefUnwindSafe for Utilize
impl Send for Utilize
impl Sync for Utilize
impl Unpin for Utilize
impl UnsafeUnpin 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