Struct safe_token_2022::extension::confidential_transfer::instruction::WithdrawWithheldTokensFromAccountsData
source · #[repr(C)]pub struct WithdrawWithheldTokensFromAccountsData {
pub num_token_accounts: u8,
pub proof_instruction_offset: i8,
}
Expand description
Data expected by ConfidentialTransferInstruction::WithdrawWithheldTokensFromAccounts
Fields§
§num_token_accounts: u8
Number of token accounts harvested
proof_instruction_offset: i8
Relative location of the ProofInstruction::VerifyWithdrawWithheld
instruction to the
VerifyWithdrawWithheldTokensFromAccounts
instruction in the transaction
Trait Implementations§
source§impl Clone for WithdrawWithheldTokensFromAccountsData
impl Clone for WithdrawWithheldTokensFromAccountsData
source§fn clone(&self) -> WithdrawWithheldTokensFromAccountsData
fn clone(&self) -> WithdrawWithheldTokensFromAccountsData
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 moresource§impl PartialEq<WithdrawWithheldTokensFromAccountsData> for WithdrawWithheldTokensFromAccountsData
impl PartialEq<WithdrawWithheldTokensFromAccountsData> for WithdrawWithheldTokensFromAccountsData
source§fn eq(&self, other: &WithdrawWithheldTokensFromAccountsData) -> bool
fn eq(&self, other: &WithdrawWithheldTokensFromAccountsData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WithdrawWithheldTokensFromAccountsData
impl Pod for WithdrawWithheldTokensFromAccountsData
impl StructuralPartialEq for WithdrawWithheldTokensFromAccountsData
Auto Trait Implementations§
impl RefUnwindSafe for WithdrawWithheldTokensFromAccountsData
impl Send for WithdrawWithheldTokensFromAccountsData
impl Sync for WithdrawWithheldTokensFromAccountsData
impl Unpin for WithdrawWithheldTokensFromAccountsData
impl UnwindSafe for WithdrawWithheldTokensFromAccountsData
Blanket Implementations§
source§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere T: AnyBitPattern,
§type Bits = T
type Bits = T
Self
must have the same layout as the specified Bits
except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern
.source§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self
.