Struct mpl_token_metadata::instruction::builders::Create
source · pub struct Create {
pub metadata: Pubkey,
pub master_edition: Option<Pubkey>,
pub mint: Pubkey,
pub authority: Pubkey,
pub payer: Pubkey,
pub update_authority: Pubkey,
pub system_program: Pubkey,
pub sysvar_instructions: Pubkey,
pub spl_token_program: Pubkey,
pub initialize_mint: bool,
pub update_authority_as_signer: bool,
pub args: CreateArgs,
}
Fields§
§metadata: Pubkey
§master_edition: Option<Pubkey>
§mint: Pubkey
§payer: Pubkey
§system_program: Pubkey
§sysvar_instructions: Pubkey
§spl_token_program: Pubkey
§initialize_mint: bool
§args: CreateArgs
Trait Implementations§
source§impl InstructionBuilder for Create
impl InstructionBuilder for Create
Builds the instruction to create metadata and associated accounts.
Accounts:
[writable]
Metadata account[optional, writable]
Master edition account[writable]
Mint account[signer]
Mint authority[signer]
Payer[signer]
Update authority[]
System program[]
Instructions sysvar account[]
SPL Token program
fn instruction(&self) -> Instruction
Auto Trait Implementations§
impl RefUnwindSafe for Create
impl Send for Create
impl Sync for Create
impl Unpin for Create
impl UnwindSafe for Create
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