Struct chain_impl_mockchain::stake::delegation::PoolState
source · pub struct PoolState {
pub last_rewards: PoolLastRewards,
pub registration: Arc<PoolRegistration>,
}
Fields§
§last_rewards: PoolLastRewards
§registration: Arc<PoolRegistration>
Implementations§
source§impl PoolState
impl PoolState
pub fn new(reg: PoolRegistration) -> Self
pub fn current_pool_registration_hash(&self) -> PoolRegistrationHash
Trait Implementations§
source§impl PartialEq<PoolState> for PoolState
impl PartialEq<PoolState> for PoolState
impl Eq for PoolState
impl StructuralEq for PoolState
impl StructuralPartialEq for PoolState
Auto Trait Implementations§
impl RefUnwindSafe for PoolState
impl Send for PoolState
impl Sync for PoolState
impl Unpin for PoolState
impl UnwindSafe for PoolState
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