pub struct WalletBalance {
pub wallet: String,
pub balance: f64,
pub total_earned: Option<f64>,
pub attestation_count: Option<u64>,
}Expand description
Wallet balance response.
Fields§
§wallet: StringWallet/miner identifier.
balance: f64Current balance in RTC.
total_earned: Option<f64>Total earned across all epochs.
attestation_count: Option<u64>Total number of attestations submitted.
Trait Implementations§
Source§impl Clone for WalletBalance
impl Clone for WalletBalance
Source§fn clone(&self) -> WalletBalance
fn clone(&self) -> WalletBalance
Returns a duplicate 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 WalletBalance
impl Debug for WalletBalance
Source§impl<'de> Deserialize<'de> for WalletBalance
impl<'de> Deserialize<'de> for WalletBalance
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
Auto Trait Implementations§
impl Freeze for WalletBalance
impl RefUnwindSafe for WalletBalance
impl Send for WalletBalance
impl Sync for WalletBalance
impl Unpin for WalletBalance
impl UnsafeUnpin for WalletBalance
impl UnwindSafe for WalletBalance
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