Struct everscale_types::models::config::ValidatorDescription
source · pub struct ValidatorDescription {
pub public_key: CellHash,
pub weight: u64,
pub adnl_addr: Option<CellHash>,
pub mc_seqno_since: u32,
}Expand description
Validator description.
Fields§
§public_key: CellHashValidator public key.
weight: u64Validator weight in some units.
adnl_addr: Option<CellHash>Optional validator ADNL address.
mc_seqno_since: u32Since which seqno this validator will be active.
Trait Implementations§
source§impl Clone for ValidatorDescription
impl Clone for ValidatorDescription
source§fn clone(&self) -> ValidatorDescription
fn clone(&self) -> ValidatorDescription
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 ValidatorDescription
impl Debug for ValidatorDescription
source§impl<'a, C: CellFamily> Load<'a, C> for ValidatorDescription
impl<'a, C: CellFamily> Load<'a, C> for ValidatorDescription
source§impl PartialEq<ValidatorDescription> for ValidatorDescription
impl PartialEq<ValidatorDescription> for ValidatorDescription
source§fn eq(&self, other: &ValidatorDescription) -> bool
fn eq(&self, other: &ValidatorDescription) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<C: CellFamily> Store<C> for ValidatorDescription
impl<C: CellFamily> Store<C> for ValidatorDescription
source§fn store_into(
&self,
builder: &mut CellBuilder<C>,
_: &mut dyn Finalizer<C>
) -> bool
fn store_into( &self, builder: &mut CellBuilder<C>, _: &mut dyn Finalizer<C> ) -> bool
Tries to store itself into the cell builder.