Struct mpl_token_metadata::utils::AuthRulesValidateParams
source · pub struct AuthRulesValidateParams<'a> {
pub mint_info: &'a AccountInfo<'a>,
pub source_info: Option<&'a AccountInfo<'a>>,
pub destination_info: Option<&'a AccountInfo<'a>>,
pub authority_info: Option<&'a AccountInfo<'a>>,
pub owner_info: Option<&'a AccountInfo<'a>>,
pub programmable_config: Option<ProgrammableConfig>,
pub amount: u64,
pub auth_data: Option<AuthorizationData>,
pub auth_rules_info: Option<&'a AccountInfo<'a>>,
pub operation: Operation,
pub is_wallet_to_wallet: bool,
pub rule_set_revision: Option<usize>,
}
Fields§
§mint_info: &'a AccountInfo<'a>
§source_info: Option<&'a AccountInfo<'a>>
§destination_info: Option<&'a AccountInfo<'a>>
§owner_info: Option<&'a AccountInfo<'a>>
§programmable_config: Option<ProgrammableConfig>
§amount: u64
§auth_data: Option<AuthorizationData>
§auth_rules_info: Option<&'a AccountInfo<'a>>
§operation: Operation
§is_wallet_to_wallet: bool
§rule_set_revision: Option<usize>
Trait Implementations§
source§impl<'a> Clone for AuthRulesValidateParams<'a>
impl<'a> Clone for AuthRulesValidateParams<'a>
source§fn clone(&self) -> AuthRulesValidateParams<'a>
fn clone(&self) -> AuthRulesValidateParams<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more