pub struct CreateMetadataAccountV3 {
pub metadata: Pubkey,
pub mint: Pubkey,
pub mint_authority: Pubkey,
pub payer: Pubkey,
pub update_authority: (Pubkey, bool),
pub system_program: Pubkey,
pub rent: Option<Pubkey>,
}Expand description
Accounts.
Fields§
§metadata: PubkeyMetadata key (pda of [‘metadata’, program id, mint id])
mint: PubkeyMint of token asset
Mint authority
payer: Pubkeypayer
update authority info
system_program: PubkeySystem program
rent: Option<Pubkey>Rent info
Implementations§
Source§impl CreateMetadataAccountV3
impl CreateMetadataAccountV3
pub fn instruction( &self, args: CreateMetadataAccountV3InstructionArgs, ) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: CreateMetadataAccountV3InstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for CreateMetadataAccountV3
impl RefUnwindSafe for CreateMetadataAccountV3
impl Send for CreateMetadataAccountV3
impl Sync for CreateMetadataAccountV3
impl Unpin for CreateMetadataAccountV3
impl UnsafeUnpin for CreateMetadataAccountV3
impl UnwindSafe for CreateMetadataAccountV3
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