pub struct StakeStats {
pub amount: f64,
pub count: u64,
}
Expand description
Stats for a specific validator stake status
Fields§
§amount: f64
The amount of HNT committed in the staked status
count: u64
The number of validators in the staked status
Trait Implementations§
Source§impl Clone for StakeStats
impl Clone for StakeStats
Source§fn clone(&self) -> StakeStats
fn clone(&self) -> StakeStats
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 StakeStats
impl Debug for StakeStats
Source§impl<'de> Deserialize<'de> for StakeStats
impl<'de> Deserialize<'de> for StakeStats
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 StakeStats
impl RefUnwindSafe for StakeStats
impl Send for StakeStats
impl Sync for StakeStats
impl Unpin for StakeStats
impl UnwindSafe for StakeStats
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