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