pub struct UpdateAsDataDelegateV2 {
pub authority: Pubkey,
pub delegate_record: Option<Pubkey>,
pub token: Option<Pubkey>,
pub mint: Pubkey,
pub metadata: Pubkey,
pub edition: Option<Pubkey>,
pub payer: Pubkey,
pub system_program: Pubkey,
pub sysvar_instructions: Pubkey,
pub authorization_rules_program: Option<Pubkey>,
pub authorization_rules: Option<Pubkey>,
}Expand description
Accounts.
Fields§
Update authority or delegate
delegate_record: Option<Pubkey>Delegate record PDA
token: Option<Pubkey>Token account
mint: PubkeyMint account
metadata: PubkeyMetadata account
edition: Option<Pubkey>Edition account
payer: PubkeyPayer
system_program: PubkeySystem program
sysvar_instructions: PubkeyInstructions sysvar account
Token Authorization Rules Program
Token Authorization Rules account
Implementations§
Source§impl UpdateAsDataDelegateV2
impl UpdateAsDataDelegateV2
pub fn instruction( &self, args: UpdateAsDataDelegateV2InstructionArgs, ) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: UpdateAsDataDelegateV2InstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for UpdateAsDataDelegateV2
impl RefUnwindSafe for UpdateAsDataDelegateV2
impl Send for UpdateAsDataDelegateV2
impl Sync for UpdateAsDataDelegateV2
impl Unpin for UpdateAsDataDelegateV2
impl UnsafeUnpin for UpdateAsDataDelegateV2
impl UnwindSafe for UpdateAsDataDelegateV2
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