Struct jormungandr_lib::interfaces::block0_configuration::reward_constraint::PoolParticipationCapping
source · pub struct PoolParticipationCapping {
pub min: NonZeroU32,
pub max: NonZeroU32,
}
Fields§
§min: NonZeroU32
§max: NonZeroU32
Trait Implementations§
source§impl Clone for PoolParticipationCapping
impl Clone for PoolParticipationCapping
source§fn clone(&self) -> PoolParticipationCapping
fn clone(&self) -> PoolParticipationCapping
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 PoolParticipationCapping
impl Debug for PoolParticipationCapping
source§impl<'de> Deserialize<'de> for PoolParticipationCapping
impl<'de> Deserialize<'de> for PoolParticipationCapping
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<PoolParticipationCapping> for PoolParticipationCapping
impl PartialEq<PoolParticipationCapping> for PoolParticipationCapping
source§fn eq(&self, other: &PoolParticipationCapping) -> bool
fn eq(&self, other: &PoolParticipationCapping) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PoolParticipationCapping
impl Serialize for PoolParticipationCapping
impl Copy for PoolParticipationCapping
impl Eq for PoolParticipationCapping
impl StructuralEq for PoolParticipationCapping
impl StructuralPartialEq for PoolParticipationCapping
Auto Trait Implementations§
impl RefUnwindSafe for PoolParticipationCapping
impl Send for PoolParticipationCapping
impl Sync for PoolParticipationCapping
impl Unpin for PoolParticipationCapping
impl UnwindSafe for PoolParticipationCapping
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