pub enum RewardInterval {
InsideInterval,
OutsideInterval,
}
Variants§
InsideInterval
the slot within the epoch is INSIDE the reward distribution interval
OutsideInterval
the slot within the epoch is OUTSIDE the reward distribution interval
Trait Implementations§
source§impl Clone for RewardInterval
impl Clone for RewardInterval
source§fn clone(&self) -> RewardInterval
fn clone(&self) -> RewardInterval
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 RewardInterval
impl Debug for RewardInterval
source§impl PartialEq for RewardInterval
impl PartialEq for RewardInterval
source§fn eq(&self, other: &RewardInterval) -> bool
fn eq(&self, other: &RewardInterval) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RewardInterval
impl Eq for RewardInterval
impl StructuralEq for RewardInterval
impl StructuralPartialEq for RewardInterval
Auto Trait Implementations§
impl RefUnwindSafe for RewardInterval
impl Send for RewardInterval
impl Sync for RewardInterval
impl Unpin for RewardInterval
impl UnwindSafe for RewardInterval
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
§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
§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
Compare self to
key
and return true
if they are equal.