pub struct PoolStakeDistribution {
pub total: Stake,
pub accounts: HashMap<Identifier, Stake>,
}
Fields§
§total: Stake
§accounts: HashMap<Identifier, Stake>
Implementations§
Trait Implementations§
source§impl Clone for PoolStakeDistribution
impl Clone for PoolStakeDistribution
source§fn clone(&self) -> PoolStakeDistribution
fn clone(&self) -> PoolStakeDistribution
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 PoolStakeDistribution
impl Debug for PoolStakeDistribution
source§impl Default for PoolStakeDistribution
impl Default for PoolStakeDistribution
source§fn default() -> PoolStakeDistribution
fn default() -> PoolStakeDistribution
Returns the “default value” for a type. Read more
source§impl PartialEq<PoolStakeDistribution> for PoolStakeDistribution
impl PartialEq<PoolStakeDistribution> for PoolStakeDistribution
source§fn eq(&self, other: &PoolStakeDistribution) -> bool
fn eq(&self, other: &PoolStakeDistribution) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PoolStakeDistribution
impl StructuralEq for PoolStakeDistribution
impl StructuralPartialEq for PoolStakeDistribution
Auto Trait Implementations§
impl RefUnwindSafe for PoolStakeDistribution
impl Send for PoolStakeDistribution
impl Sync for PoolStakeDistribution
impl Unpin for PoolStakeDistribution
impl UnwindSafe for PoolStakeDistribution
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