pub struct DistributionVerifier {
stake_distribution: StakeDistribution,
info: Info,
}
Fields§
§stake_distribution: StakeDistribution
§info: Info
Implementations§
source§impl DistributionVerifier
impl DistributionVerifier
pub fn new(stake_distribution: StakeDistribution, info: Info) -> Self
pub fn dangling_is(&self, dangling: Stake) -> &Self
pub fn and(&self) -> &Self
pub fn unassigned_is(&self, unassigned: Stake) -> &Self
pub fn pools_total_stake_is(&self, pools_total: Stake) -> &Self
pub fn pools_distribution_is( &self, expected_distribution: Vec<(PoolId, Value)> ) -> &Self
Auto Trait Implementations§
impl RefUnwindSafe for DistributionVerifier
impl Send for DistributionVerifier
impl Sync for DistributionVerifier
impl Unpin for DistributionVerifier
impl UnwindSafe for DistributionVerifier
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