Struct mpl_token_metadata::instruction::Burn
source · pub struct Burn<'a> {Show 14 fields
pub authority_info: &'a AccountInfo<'a>,
pub collection_metadata_info: Option<&'a AccountInfo<'a>>,
pub metadata_info: &'a AccountInfo<'a>,
pub edition_info: Option<&'a AccountInfo<'a>>,
pub mint_info: &'a AccountInfo<'a>,
pub token_info: &'a AccountInfo<'a>,
pub master_edition_info: Option<&'a AccountInfo<'a>>,
pub master_edition_mint_info: Option<&'a AccountInfo<'a>>,
pub master_edition_token_info: Option<&'a AccountInfo<'a>>,
pub edition_marker_info: Option<&'a AccountInfo<'a>>,
pub token_record_info: Option<&'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§
§collection_metadata_info: Option<&'a AccountInfo<'a>>
§metadata_info: &'a AccountInfo<'a>
§edition_info: Option<&'a AccountInfo<'a>>
§mint_info: &'a AccountInfo<'a>
§token_info: &'a AccountInfo<'a>
§master_edition_info: Option<&'a AccountInfo<'a>>
§master_edition_mint_info: Option<&'a AccountInfo<'a>>
§master_edition_token_info: Option<&'a AccountInfo<'a>>
§edition_marker_info: Option<&'a AccountInfo<'a>>
§token_record_info: Option<&'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> Burn<'a>
impl<'a> Burn<'a>
pub fn to_context( accounts: &'a [AccountInfo<'a>] ) -> Result<Context<Self>, ProgramError>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Burn<'a>
impl<'a> !Send for Burn<'a>
impl<'a> !Sync for Burn<'a>
impl<'a> Unpin for Burn<'a>
impl<'a> !UnwindSafe for Burn<'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