Struct everscale_types::models::config::WorkchainDescription
source · pub struct WorkchainDescription {
pub enabled_since: u32,
pub actual_min_split: u8,
pub min_split: u8,
pub max_split: u8,
pub active: bool,
pub accept_msgs: bool,
pub zerostate_root_hash: CellHash,
pub zerostate_file_hash: CellHash,
pub version: u32,
pub format: WorkchainFormat,
}Expand description
Workchain description.
Fields§
§enabled_since: u32Unix timestamp from which blocks can be produced.
actual_min_split: u8Unused stub.
min_split: u8The minimal shards split depths.
max_split: u8The maximum shards split depths.
active: boolWhether the workchain is enabled.
accept_msgs: boolWhether the workchain accepts messages.
zerostate_root_hash: CellHashA hash of the zerostate root cell.
zerostate_file_hash: CellHashA hash of the zerostate file.
version: u32Workchain version.
format: WorkchainFormatWorkchain format description.
Implementations§
Trait Implementations§
source§impl Clone for WorkchainDescription
impl Clone for WorkchainDescription
source§fn clone(&self) -> WorkchainDescription
fn clone(&self) -> WorkchainDescription
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 WorkchainDescription
impl Debug for WorkchainDescription
source§impl<'a> Load<'a> for WorkchainDescription
impl<'a> Load<'a> for WorkchainDescription
source§impl PartialEq<WorkchainDescription> for WorkchainDescription
impl PartialEq<WorkchainDescription> for WorkchainDescription
source§fn eq(&self, other: &WorkchainDescription) -> bool
fn eq(&self, other: &WorkchainDescription) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Store for WorkchainDescription
impl Store for WorkchainDescription
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.