Struct everscale_types::models::config::ValidatorSet
source · pub struct ValidatorSet {
pub utime_since: u32,
pub utime_until: u32,
pub main: NonZeroU16,
pub total_weight: u64,
pub list: Vec<ValidatorDescription>,
}Expand description
Validator set.
Fields§
§utime_since: u32Unix timestamp from which this set will be active.
utime_until: u32Unix timestamp until which this set will be active.
main: NonZeroU16The number of masterchain validators.
total_weight: u64Total validators weight.
list: Vec<ValidatorDescription>Validators.
Trait Implementations§
source§impl Clone for ValidatorSet
impl Clone for ValidatorSet
source§fn clone(&self) -> ValidatorSet
fn clone(&self) -> ValidatorSet
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 ValidatorSet
impl Debug for ValidatorSet
source§impl<'a> Load<'a> for ValidatorSet
impl<'a> Load<'a> for ValidatorSet
source§impl PartialEq<ValidatorSet> for ValidatorSet
impl PartialEq<ValidatorSet> for ValidatorSet
source§fn eq(&self, other: &ValidatorSet) -> bool
fn eq(&self, other: &ValidatorSet) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Store for ValidatorSet
impl Store for ValidatorSet
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.