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 duplicate 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 moreAuto Trait Implementations§
impl<'a> Freeze for AuthRulesValidateParams<'a>
impl<'a> !RefUnwindSafe for AuthRulesValidateParams<'a>
impl<'a> !Send for AuthRulesValidateParams<'a>
impl<'a> !Sync for AuthRulesValidateParams<'a>
impl<'a> Unpin for AuthRulesValidateParams<'a>
impl<'a> !UnwindSafe for AuthRulesValidateParams<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more