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