Struct mpl_token_metadata::state::AuthorityRequest
source · pub struct AuthorityRequest<'a, 'b> {
pub authority: &'a Pubkey,
pub update_authority: &'b Pubkey,
pub mint: &'a Pubkey,
pub token: Option<&'a Pubkey>,
pub token_account: Option<&'b Account>,
pub metadata_delegate_record_info: Option<&'a AccountInfo<'a>>,
pub metadata_delegate_role: Option<MetadataDelegateRole>,
pub token_record_info: Option<&'a AccountInfo<'a>>,
pub token_delegate_roles: Vec<TokenDelegateRole>,
}
Fields§
Pubkey of the authority.
Metadata’s update authority pubkey of the asset.
mint: &'a Pubkey
Mint address.
token: Option<&'a Pubkey>
Holder’s token account info.
token_account: Option<&'b Account>
Holder’s token account.
metadata_delegate_record_info: Option<&'a AccountInfo<'a>>
MetadataDelegateRecord
account of the authority (when the authority is a delegate).
metadata_delegate_role: Option<MetadataDelegateRole>
Expected MetadataDelegateRole
for the request.
token_record_info: Option<&'a AccountInfo<'a>>
TokenRecord
account.
token_delegate_roles: Vec<TokenDelegateRole>
Expected TokenDelegateRole
for the request.