Struct fuel_core_interfaces::relayer::StakingDiff
source · [−]pub struct StakingDiff {
pub validators: HashMap<Address, Option<Address>>,
pub delegations: HashMap<Address, Option<HashMap<Address, ValidatorStake>>>,
}Fields
validators: HashMap<Address, Option<Address>>Validator registration, it can be new consensus address if registered or None if unregistration happened.
delegations: HashMap<Address, Option<HashMap<Address, ValidatorStake>>>Register changes for all delegations inside one da block.
Implementations
Trait Implementations
sourceimpl Clone for StakingDiff
impl Clone for StakingDiff
sourcefn clone(&self) -> StakingDiff
fn clone(&self) -> StakingDiff
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for StakingDiff
impl Send for StakingDiff
impl Sync for StakingDiff
impl Unpin for StakingDiff
impl UnwindSafe for StakingDiff
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more