pub struct DelegateDataV1 {Show 14 fields
pub delegate_record: Option<Pubkey>,
pub delegate: Pubkey,
pub metadata: Pubkey,
pub master_edition: Option<Pubkey>,
pub token_record: Option<Pubkey>,
pub mint: Pubkey,
pub token: Option<Pubkey>,
pub authority: Pubkey,
pub payer: Pubkey,
pub system_program: Pubkey,
pub sysvar_instructions: Pubkey,
pub spl_token_program: Option<Pubkey>,
pub authorization_rules_program: Option<Pubkey>,
pub authorization_rules: Option<Pubkey>,
}Expand description
Accounts.
Fields§
§delegate_record: Option<Pubkey>Delegate record account
delegate: PubkeyOwner of the delegated account
metadata: PubkeyMetadata account
master_edition: Option<Pubkey>Master Edition account
token_record: Option<Pubkey>Token record account
mint: PubkeyMint of metadata
token: Option<Pubkey>Token account of mint
Update authority or token owner
payer: PubkeyPayer
system_program: PubkeySystem Program
sysvar_instructions: PubkeyInstructions sysvar account
spl_token_program: Option<Pubkey>SPL Token Program
Token Authorization Rules Program
Token Authorization Rules account
Implementations§
Source§impl DelegateDataV1
impl DelegateDataV1
pub fn instruction(&self, args: DelegateDataV1InstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: DelegateDataV1InstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for DelegateDataV1
impl RefUnwindSafe for DelegateDataV1
impl Send for DelegateDataV1
impl Sync for DelegateDataV1
impl Unpin for DelegateDataV1
impl UnsafeUnpin for DelegateDataV1
impl UnwindSafe for DelegateDataV1
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