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: HashBytes,
pub zerostate_file_hash: HashBytes,
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: HashBytesA hash of the zerostate root cell.
zerostate_file_hash: HashBytesA 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.
impl Eq for WorkchainDescription
impl StructuralEq for WorkchainDescription
impl StructuralPartialEq for WorkchainDescription
Auto Trait Implementations§
impl RefUnwindSafe for WorkchainDescription
impl Send for WorkchainDescription
impl Sync for WorkchainDescription
impl Unpin for WorkchainDescription
impl UnwindSafe for WorkchainDescription
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