pub struct PoolStakeInformation {
pub registration: Option<Arc<PoolRegistration>>,
pub stake: PoolStakeDistribution,
}
Fields§
§registration: Option<Arc<PoolRegistration>>
§stake: PoolStakeDistribution
Implementations§
source§impl PoolStakeInformation
impl PoolStakeInformation
pub fn add_value(&mut self, id: &Identifier, s: Stake)
Trait Implementations§
source§impl Clone for PoolStakeInformation
impl Clone for PoolStakeInformation
source§fn clone(&self) -> PoolStakeInformation
fn clone(&self) -> PoolStakeInformation
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 PoolStakeInformation
impl Debug for PoolStakeInformation
source§impl PartialEq<PoolStakeInformation> for PoolStakeInformation
impl PartialEq<PoolStakeInformation> for PoolStakeInformation
source§fn eq(&self, other: &PoolStakeInformation) -> bool
fn eq(&self, other: &PoolStakeInformation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PoolStakeInformation
impl StructuralEq for PoolStakeInformation
impl StructuralPartialEq for PoolStakeInformation
Auto Trait Implementations§
impl RefUnwindSafe for PoolStakeInformation
impl Send for PoolStakeInformation
impl Sync for PoolStakeInformation
impl Unpin for PoolStakeInformation
impl UnwindSafe for PoolStakeInformation
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