pub struct Delegate {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 Delegate
impl Delegate
pub fn instruction(&self, args: DelegateInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: DelegateInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for Delegate
impl RefUnwindSafe for Delegate
impl Send for Delegate
impl Sync for Delegate
impl Unpin for Delegate
impl UnsafeUnpin for Delegate
impl UnwindSafe for Delegate
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