Struct mpl_token_metadata::instruction::builders::Update
source · pub struct Update {
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>,
pub args: UpdateArgs,
}
Fields§
§delegate_record: Option<Pubkey>
§token: Option<Pubkey>
§mint: Pubkey
§metadata: Pubkey
§edition: Option<Pubkey>
§payer: Pubkey
§system_program: Pubkey
§sysvar_instructions: Pubkey
§args: UpdateArgs
Trait Implementations§
source§impl InstructionBuilder for Update
impl InstructionBuilder for Update
Updates the metadata of an asset.
Accounts:
[signer]
Update authority or delegate[optional]
Delegate record PDA[optional]
Token account[]
Mint account[writable]
Metadata account[optional]
Edition account[signer]
Payer[]
System program[]
System program[optional]
Token Authorization Rules Program[optional]
Token Authorization Rules account
fn instruction(&self) -> Instruction
Auto Trait Implementations§
impl RefUnwindSafe for Update
impl Send for Update
impl Sync for Update
impl Unpin for Update
impl UnwindSafe for Update
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