Struct spl_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: DecryptableBalance,
}
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: DecryptableBalance
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 for ApplyPendingBalanceData
impl PartialEq 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> 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> 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
.