Enum chain_impl_mockchain::rewards::Limit
source · pub enum Limit {
None,
ByStakeAbsolute(Ratio),
}
Variants§
None
the drawn value will not be limited
ByStakeAbsolute(Ratio)
The drawn value will be limited by the absoluted stake in the system with a given ratio.
Trait Implementations§
source§impl PartialEq<Limit> for Limit
impl PartialEq<Limit> for Limit
impl Eq for Limit
impl StructuralEq for Limit
impl StructuralPartialEq for Limit
Auto Trait Implementations§
impl RefUnwindSafe for Limit
impl Send for Limit
impl Sync for Limit
impl Unpin for Limit
impl UnwindSafe for Limit
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