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> Load<'tlb> for ValidatorCountParams
impl<'tlb> Load<'tlb> 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 Store for ValidatorCountParams
impl Store for ValidatorCountParams
source§fn store_into(
&self,
__builder: &mut CellBuilder,
__finalizer: &mut dyn Finalizer
) -> Result<(), Error>
fn store_into( &self, __builder: &mut CellBuilder, __finalizer: &mut dyn Finalizer ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Copy for ValidatorCountParams
impl Eq for ValidatorCountParams
impl StructuralEq for ValidatorCountParams
impl StructuralPartialEq for ValidatorCountParams
Auto Trait Implementations§
impl RefUnwindSafe for ValidatorCountParams
impl Send for ValidatorCountParams
impl Sync for ValidatorCountParams
impl Unpin for ValidatorCountParams
impl UnwindSafe for ValidatorCountParams
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