Struct mpl_token_metadata::instructions::Mint
source · pub struct Mint {Show 15 fields
pub token: Pubkey,
pub token_owner: Option<Pubkey>,
pub metadata: Pubkey,
pub master_edition: Option<Pubkey>,
pub token_record: Option<Pubkey>,
pub mint: Pubkey,
pub authority: Pubkey,
pub delegate_record: Option<Pubkey>,
pub payer: Pubkey,
pub system_program: Pubkey,
pub sysvar_instructions: Pubkey,
pub spl_token_program: Pubkey,
pub spl_ata_program: Pubkey,
pub authorization_rules_program: Option<Pubkey>,
pub authorization_rules: Option<Pubkey>,
}
Expand description
Accounts.
Fields§
§token: Pubkey
Token or Associated Token account
token_owner: Option<Pubkey>
Owner of the token account
metadata: Pubkey
Metadata account (pda of [‘metadata’, program id, mint id])
master_edition: Option<Pubkey>
Master Edition account
token_record: Option<Pubkey>
Token record account
mint: Pubkey
Mint of token asset
(Mint or Update) authority
delegate_record: Option<Pubkey>
Metadata delegate record
payer: Pubkey
Payer
system_program: Pubkey
System program
sysvar_instructions: Pubkey
Instructions sysvar account
spl_token_program: Pubkey
SPL Token program
spl_ata_program: Pubkey
SPL Associated Token Account program
Token Authorization Rules program
Token Authorization Rules account
Implementations§
source§impl Mint
impl Mint
pub fn instruction(&self, args: MintInstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: MintInstructionArgs, remaining_accounts: &[AccountMeta] ) -> Instruction
Auto Trait Implementations§
impl RefUnwindSafe for Mint
impl Send for Mint
impl Sync for Mint
impl Unpin for Mint
impl UnwindSafe for Mint
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