pub struct LockV1 {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: PubkeyToken account
mint: PubkeyMint account
metadata: PubkeyMetadata account
edition: Option<Pubkey>Edition account
token_record: Option<Pubkey>Token record account
payer: PubkeyPayer
system_program: PubkeySystem program
sysvar_instructions: PubkeySystem program
spl_token_program: Option<Pubkey>SPL Token Program
Token Authorization Rules Program
Token Authorization Rules account
Implementations§
Source§impl LockV1
impl LockV1
pub fn instruction(&self, args: LockV1InstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: LockV1InstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for LockV1
impl RefUnwindSafe for LockV1
impl Send for LockV1
impl Sync for LockV1
impl Unpin for LockV1
impl UnsafeUnpin for LockV1
impl UnwindSafe for LockV1
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