Struct mpl_token_metadata::instructions::UpdateV1
source · pub struct UpdateV1 {
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: Pubkey
Mint account
metadata: Pubkey
Metadata account
edition: Option<Pubkey>
Edition account
payer: Pubkey
Payer
system_program: Pubkey
System program
sysvar_instructions: Pubkey
Instructions sysvar account
Token Authorization Rules Program
Token Authorization Rules account
Implementations§
source§impl UpdateV1
impl UpdateV1
pub fn instruction(&self, args: UpdateV1InstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: UpdateV1InstructionArgs, remaining_accounts: &[InstructionAccount] ) -> Instruction
Auto Trait Implementations§
impl RefUnwindSafe for UpdateV1
impl Send for UpdateV1
impl Sync for UpdateV1
impl Unpin for UpdateV1
impl UnwindSafe for UpdateV1
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