Struct jormungandr_lib::interfaces::ParametersDef
source · pub struct ParametersDef {
pub initial_value: u64,
pub compounding_ratio: Ratio,
pub compounding_type: CompoundingType,
pub epoch_rate: NonZeroU32,
pub epoch_start: Epoch,
pub reward_drawing_limit_max: Limit,
pub pool_participation_capping: Option<(NonZeroU32, NonZeroU32)>,
}
Fields§
§initial_value: u64
§compounding_ratio: Ratio
§compounding_type: CompoundingType
§epoch_rate: NonZeroU32
§epoch_start: Epoch
§reward_drawing_limit_max: Limit
§pool_participation_capping: Option<(NonZeroU32, NonZeroU32)>
Implementations§
source§impl<'de> ParametersDef
impl<'de> ParametersDef
pub fn deserialize<__D>(__deserializer: __D) -> Result<Parameters, __D::Error>where __D: Deserializer<'de>,
source§impl ParametersDef
impl ParametersDef
Auto Trait Implementations§
impl RefUnwindSafe for ParametersDef
impl Send for ParametersDef
impl Sync for ParametersDef
impl Unpin for ParametersDef
impl UnwindSafe for ParametersDef
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