Struct safe_token_2022::extension::confidential_transfer::instruction::ApplyPendingBalanceData
source · #[repr(C)]pub struct ApplyPendingBalanceData {
pub expected_pending_balance_credit_counter: PodU64,
pub new_decryptable_available_balance: AeCiphertext,
}
Expand description
Data expected by ConfidentialTransferInstruction::ApplyPendingBalance
Fields§
§expected_pending_balance_credit_counter: PodU64
The expected number of pending balance credits since the last successful
ApplyPendingBalance
instruction
new_decryptable_available_balance: AeCiphertext
The new decryptable balance if the pending balance is applied successfully
Trait Implementations§
source§impl Clone for ApplyPendingBalanceData
impl Clone for ApplyPendingBalanceData
source§fn clone(&self) -> ApplyPendingBalanceData
fn clone(&self) -> ApplyPendingBalanceData
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 Debug for ApplyPendingBalanceData
impl Debug for ApplyPendingBalanceData
source§impl PartialEq<ApplyPendingBalanceData> for ApplyPendingBalanceData
impl PartialEq<ApplyPendingBalanceData> for ApplyPendingBalanceData
source§fn eq(&self, other: &ApplyPendingBalanceData) -> bool
fn eq(&self, other: &ApplyPendingBalanceData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ApplyPendingBalanceData
impl Pod for ApplyPendingBalanceData
impl StructuralPartialEq for ApplyPendingBalanceData
Auto Trait Implementations§
impl RefUnwindSafe for ApplyPendingBalanceData
impl Send for ApplyPendingBalanceData
impl Sync for ApplyPendingBalanceData
impl Unpin for ApplyPendingBalanceData
impl UnwindSafe for ApplyPendingBalanceData
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
.