Struct everscale_types::models::config::ValidatorCountParams
source · pub struct ValidatorCountParams {
pub max_validators: u16,
pub max_main_validators: u16,
pub min_validators: u16,
}Expand description
Range of number of validators.
Fields§
§max_validators: u16The maximum number of validators.
max_main_validators: u16The maximum number of masterchain validators.
min_validators: u16The minimum number of validators.
Trait Implementations§
source§impl Clone for ValidatorCountParams
impl Clone for ValidatorCountParams
source§fn clone(&self) -> ValidatorCountParams
fn clone(&self) -> ValidatorCountParams
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 ValidatorCountParams
impl Debug for ValidatorCountParams
source§impl<'tlb, C: CellFamily> Load<'tlb, C> for ValidatorCountParams
impl<'tlb, C: CellFamily> Load<'tlb, C> for ValidatorCountParams
source§impl PartialEq<ValidatorCountParams> for ValidatorCountParams
impl PartialEq<ValidatorCountParams> for ValidatorCountParams
source§fn eq(&self, other: &ValidatorCountParams) -> bool
fn eq(&self, other: &ValidatorCountParams) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<C: CellFamily> Store<C> for ValidatorCountParams
impl<C: CellFamily> Store<C> for ValidatorCountParams
source§fn store_into(
&self,
__builder: &mut CellBuilder<C>,
__finalizer: &mut dyn Finalizer<C>
) -> bool
fn store_into( &self, __builder: &mut CellBuilder<C>, __finalizer: &mut dyn Finalizer<C> ) -> bool
Tries to store itself into the cell builder.