Struct mpl_token_metadata::instructions::Lock
source · pub struct Lock {Show 13 fields
pub authority: Pubkey,
pub token_owner: Option<Pubkey>,
pub token: Pubkey,
pub mint: Pubkey,
pub metadata: Pubkey,
pub edition: Option<Pubkey>,
pub token_record: Option<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 or freeze authority
token_owner: Option<Pubkey>
Token owner account
token: Pubkey
Token account
mint: Pubkey
Mint account
metadata: Pubkey
Metadata account
edition: Option<Pubkey>
Edition account
token_record: Option<Pubkey>
Token record account
payer: Pubkey
Payer
system_program: Pubkey
System program
sysvar_instructions: Pubkey
System program
spl_token_program: Option<Pubkey>
SPL Token Program
Token Authorization Rules Program
Token Authorization Rules account
Implementations§
source§impl Lock
impl Lock
pub fn instruction(&self, args: LockInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: LockInstructionArgs, remaining_accounts: &[AccountMeta] ) -> Instruction
Auto Trait Implementations§
impl RefUnwindSafe for Lock
impl Send for Lock
impl Sync for Lock
impl Unpin for Lock
impl UnwindSafe for Lock
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