pub struct UtilizeCpiAccounts<'a, 'b> {
pub metadata: &'b AccountInfo<'a>,
pub token_account: &'b AccountInfo<'a>,
pub mint: &'b AccountInfo<'a>,
pub use_authority: &'b AccountInfo<'a>,
pub owner: &'b AccountInfo<'a>,
pub token_program: &'b AccountInfo<'a>,
pub ata_program: &'b AccountInfo<'a>,
pub system_program: &'b AccountInfo<'a>,
pub rent: &'b AccountInfo<'a>,
pub use_authority_record: Option<&'b AccountInfo<'a>>,
pub burner: Option<&'b AccountInfo<'a>>,
}
Expand description
utilize
CPI accounts.
Fields§
§metadata: &'b AccountInfo<'a>
Metadata account
token_account: &'b AccountInfo<'a>
Token Account Of NFT
mint: &'b AccountInfo<'a>
Mint of the Metadata
A Use Authority / Can be the current Owner of the NFT
owner: &'b AccountInfo<'a>
Owner
token_program: &'b AccountInfo<'a>
Token program
ata_program: &'b AccountInfo<'a>
Associated Token program
system_program: &'b AccountInfo<'a>
System program
rent: &'b AccountInfo<'a>
Rent info
Use Authority Record PDA If present the program Assumes a delegated use authority
burner: Option<&'b AccountInfo<'a>>
Program As Signer (Burner)
Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for UtilizeCpiAccounts<'a, 'b>
impl<'a, 'b> !Send for UtilizeCpiAccounts<'a, 'b>
impl<'a, 'b> !Sync for UtilizeCpiAccounts<'a, 'b>
impl<'a, 'b> Unpin for UtilizeCpiAccounts<'a, 'b>
impl<'a, 'b> !UnwindSafe for UtilizeCpiAccounts<'a, 'b>
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