pub struct WithdrawalCounterReport {
pub accepted_withdrawal_count: u32,
pub rejected_withdrawal_count: u32,
}
Fields§
§accepted_withdrawal_count: u32
§rejected_withdrawal_count: u32
Trait Implementations§
source§impl CandidType for WithdrawalCounterReport
impl CandidType for WithdrawalCounterReport
source§impl Clone for WithdrawalCounterReport
impl Clone for WithdrawalCounterReport
source§fn clone(&self) -> WithdrawalCounterReport
fn clone(&self) -> WithdrawalCounterReport
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 WithdrawalCounterReport
impl Debug for WithdrawalCounterReport
source§impl Default for WithdrawalCounterReport
impl Default for WithdrawalCounterReport
source§fn default() -> WithdrawalCounterReport
fn default() -> WithdrawalCounterReport
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WithdrawalCounterReport
impl<'de> Deserialize<'de> for WithdrawalCounterReport
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for WithdrawalCounterReport
impl Ord for WithdrawalCounterReport
source§fn cmp(&self, other: &WithdrawalCounterReport) -> Ordering
fn cmp(&self, other: &WithdrawalCounterReport) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for WithdrawalCounterReport
impl PartialEq for WithdrawalCounterReport
source§fn eq(&self, other: &WithdrawalCounterReport) -> bool
fn eq(&self, other: &WithdrawalCounterReport) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for WithdrawalCounterReport
impl PartialOrd for WithdrawalCounterReport
source§fn partial_cmp(&self, other: &WithdrawalCounterReport) -> Option<Ordering>
fn partial_cmp(&self, other: &WithdrawalCounterReport) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for WithdrawalCounterReport
impl Serialize for WithdrawalCounterReport
source§impl Storable for WithdrawalCounterReport
impl Storable for WithdrawalCounterReport
source§fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
Converts bytes into an element.
source§fn to_bytes_checked(&self) -> Cow<'_, [u8]>
fn to_bytes_checked(&self) -> Cow<'_, [u8]>
Like
to_bytes
, but includes additional checks to ensure the element’s serialized bytes
are within the element’s bounds.impl Eq for WithdrawalCounterReport
impl StructuralPartialEq for WithdrawalCounterReport
Auto Trait Implementations§
impl Freeze for WithdrawalCounterReport
impl RefUnwindSafe for WithdrawalCounterReport
impl Send for WithdrawalCounterReport
impl Sync for WithdrawalCounterReport
impl Unpin for WithdrawalCounterReport
impl UnwindSafe for WithdrawalCounterReport
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