pub struct WalletStats {
pub total_webcash: u64,
pub unspent_webcash: u64,
pub spent_webcash: u64,
pub total_balance: Amount,
}Expand description
Statistics about the wallet.
Fields§
§total_webcash: u64§unspent_webcash: u64§spent_webcash: u64§total_balance: AmountTrait Implementations§
Source§impl Clone for WalletStats
impl Clone for WalletStats
Source§fn clone(&self) -> WalletStats
fn clone(&self) -> WalletStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 WalletStats
impl Debug for WalletStats
Source§impl PartialEq for WalletStats
impl PartialEq for WalletStats
Source§fn eq(&self, other: &WalletStats) -> bool
fn eq(&self, other: &WalletStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WalletStats
impl StructuralPartialEq for WalletStats
Auto Trait Implementations§
impl Freeze for WalletStats
impl RefUnwindSafe for WalletStats
impl Send for WalletStats
impl Sync for WalletStats
impl Unpin for WalletStats
impl UnsafeUnpin for WalletStats
impl UnwindSafe for WalletStats
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