struct CalculatedStakePoints {
points: u128,
new_credits_observed: u64,
force_credits_update_with_skipped_reward: bool,
}
Fields§
§points: u128
§new_credits_observed: u64
§force_credits_update_with_skipped_reward: bool
Trait Implementations§
source§impl Debug for CalculatedStakePoints
impl Debug for CalculatedStakePoints
source§impl PartialEq<CalculatedStakePoints> for CalculatedStakePoints
impl PartialEq<CalculatedStakePoints> for CalculatedStakePoints
source§fn eq(&self, other: &CalculatedStakePoints) -> bool
fn eq(&self, other: &CalculatedStakePoints) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for CalculatedStakePoints
impl StructuralEq for CalculatedStakePoints
impl StructuralPartialEq for CalculatedStakePoints
Auto Trait Implementations§
impl RefUnwindSafe for CalculatedStakePoints
impl Send for CalculatedStakePoints
impl Sync for CalculatedStakePoints
impl Unpin for CalculatedStakePoints
impl UnwindSafe for CalculatedStakePoints
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.