Struct everscale_types::models::config::ElectionTimings
source · pub struct ElectionTimings {
pub validators_elected_for: u32,
pub elections_start_before: u32,
pub elections_end_before: u32,
pub stake_held_for: u32,
}Expand description
Validators election timings.
Fields§
§validators_elected_for: u32Validation round length in seconds.
elections_start_before: u32Duration in seconds until the end of the validation round when the election starts.
elections_end_before: u32Duration in seconds until the end of the validation round when the election ends.
stake_held_for: u32How long validator stake will be frozen after the validation round end.
Trait Implementations§
source§impl Clone for ElectionTimings
impl Clone for ElectionTimings
source§fn clone(&self) -> ElectionTimings
fn clone(&self) -> ElectionTimings
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 ElectionTimings
impl Debug for ElectionTimings
source§impl<'tlb, C: CellFamily> Load<'tlb, C> for ElectionTimings
impl<'tlb, C: CellFamily> Load<'tlb, C> for ElectionTimings
source§impl PartialEq<ElectionTimings> for ElectionTimings
impl PartialEq<ElectionTimings> for ElectionTimings
source§fn eq(&self, other: &ElectionTimings) -> bool
fn eq(&self, other: &ElectionTimings) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<C: CellFamily> Store<C> for ElectionTimings
impl<C: CellFamily> Store<C> for ElectionTimings
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.