Struct mpl_token_metadata::instruction::Create
source · pub struct Create<'a> {
pub metadata_info: &'a AccountInfo<'a>,
pub master_edition_info: Option<&'a AccountInfo<'a>>,
pub mint_info: &'a AccountInfo<'a>,
pub authority_info: &'a AccountInfo<'a>,
pub payer_info: &'a AccountInfo<'a>,
pub update_authority_info: &'a AccountInfo<'a>,
pub system_program_info: &'a AccountInfo<'a>,
pub sysvar_instructions_info: &'a AccountInfo<'a>,
pub spl_token_program_info: &'a AccountInfo<'a>,
}
Fields§
§metadata_info: &'a AccountInfo<'a>
§master_edition_info: Option<&'a AccountInfo<'a>>
§mint_info: &'a AccountInfo<'a>
§payer_info: &'a AccountInfo<'a>
§system_program_info: &'a AccountInfo<'a>
§sysvar_instructions_info: &'a AccountInfo<'a>
§spl_token_program_info: &'a AccountInfo<'a>
Implementations§
source§impl<'a> Create<'a>
impl<'a> Create<'a>
pub fn to_context( accounts: &'a [AccountInfo<'a>] ) -> Result<Context<Self>, ProgramError>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Create<'a>
impl<'a> !Send for Create<'a>
impl<'a> !Sync for Create<'a>
impl<'a> Unpin for Create<'a>
impl<'a> !UnwindSafe for Create<'a>
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