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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorkchainDescription
impl Debug for WorkchainDescription
Source§impl<'de> Deserialize<'de> for WorkchainDescription
impl<'de> Deserialize<'de> for WorkchainDescription
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'a> Load<'a> for WorkchainDescription
impl<'a> Load<'a> for WorkchainDescription
Source§impl PartialEq for WorkchainDescription
impl PartialEq for WorkchainDescription
Source§impl Serialize for WorkchainDescription
impl Serialize for WorkchainDescription
Source§impl Store for WorkchainDescription
impl Store for WorkchainDescription
Source§fn store_into(
&self,
builder: &mut CellBuilder,
context: &dyn CellContext,
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, context: &dyn CellContext, ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Eq for WorkchainDescription
impl StructuralPartialEq for WorkchainDescription
Auto Trait Implementations§
impl Freeze for WorkchainDescription
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compares
self to key and returns true if they are equal.