Struct mpl_token_metadata::instruction::builders::Delegate
source · pub struct Delegate {Show 15 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>,
pub args: DelegateArgs,
}
Fields§
§delegate_record: Option<Pubkey>
§delegate: Pubkey
§metadata: Pubkey
§master_edition: Option<Pubkey>
§token_record: Option<Pubkey>
§mint: Pubkey
§token: Option<Pubkey>
§payer: Pubkey
§system_program: Pubkey
§sysvar_instructions: Pubkey
§spl_token_program: Option<Pubkey>
§args: DelegateArgs
Trait Implementations§
source§impl InstructionBuilder for Delegate
impl InstructionBuilder for Delegate
Delegates an action over an asset to a specific account.
Accounts:
[optional, writable]
Delegate record account[]
Delegated owner[writable]
Metadata account[optional]
Master Edition account[optional, writable]
Token record account[]
Mint account[optional, writable]
Token account[signer]
Update authority or token owner[signer, writable]
Payer[]
System Program[]
Instructions sysvar account[optional]
SPL Token Program[optional]
Token Authorization Rules program[optional]
Token Authorization Rules account
fn instruction(&self) -> Instruction
Auto Trait Implementations§
impl RefUnwindSafe for Delegate
impl Send for Delegate
impl Sync for Delegate
impl Unpin 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