Struct everscale_types::models::shard::ValidatorBaseInfo
source · pub struct ValidatorBaseInfo {
pub validator_list_hash_short: u32,
pub catchain_seqno: u32,
}Expand description
Brief validator basic info.
Fields§
§validator_list_hash_short: u32Last 4 bytes of the hash of the validator list.
catchain_seqno: u32Seqno of the catchain session.
Trait Implementations§
source§impl Clone for ValidatorBaseInfo
impl Clone for ValidatorBaseInfo
source§fn clone(&self) -> ValidatorBaseInfo
fn clone(&self) -> ValidatorBaseInfo
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 ValidatorBaseInfo
impl Debug for ValidatorBaseInfo
source§impl<'tlb> Load<'tlb> for ValidatorBaseInfo
impl<'tlb> Load<'tlb> for ValidatorBaseInfo
source§impl PartialEq<ValidatorBaseInfo> for ValidatorBaseInfo
impl PartialEq<ValidatorBaseInfo> for ValidatorBaseInfo
source§fn eq(&self, other: &ValidatorBaseInfo) -> bool
fn eq(&self, other: &ValidatorBaseInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Store for ValidatorBaseInfo
impl Store for ValidatorBaseInfo
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 ValidatorBaseInfo
impl Eq for ValidatorBaseInfo
impl StructuralEq for ValidatorBaseInfo
impl StructuralPartialEq for ValidatorBaseInfo
Auto Trait Implementations§
impl RefUnwindSafe for ValidatorBaseInfo
impl Send for ValidatorBaseInfo
impl Sync for ValidatorBaseInfo
impl Unpin for ValidatorBaseInfo
impl UnwindSafe for ValidatorBaseInfo
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