pub struct AddIdentity {
pub mint: Pubkey,
pub token_account: Pubkey,
pub policy: Pubkey,
pub payer: Pubkey,
pub owner: Pubkey,
pub system_program: Pubkey,
}Expand description
Accounts.
Fields§
§mint: PubkeyThe token extensions mint account linked to the policy
token_account: PubkeyThe authority over the policy based on token ownership of the mint
policy: PubkeyThe shield policy account
payer: PubkeyThe account paying for the storage fees
owner: PubkeyThe owner of the token account
system_program: PubkeyThe system program
Implementations§
Source§impl AddIdentity
impl AddIdentity
pub fn instruction(&self, args: AddIdentityInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: AddIdentityInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AddIdentity
impl RefUnwindSafe for AddIdentity
impl Send for AddIdentity
impl Sync for AddIdentity
impl Unpin for AddIdentity
impl UnwindSafe for AddIdentity
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