Struct everscale_types::models::block::McBlockExtra
source · pub struct McBlockExtra {
pub shards: ShardHashes,
pub fees: ShardFees,
pub prev_block_signatures: Dict<u16, BlockSignature>,
pub recover_create_msg: Option<Cell>,
pub mint_msg: Option<Cell>,
pub copyleft_msgs: Dict<Uint15, Cell>,
pub config: Option<BlockchainConfig>,
}Expand description
Additional content for masterchain blocks.
Fields§
§shards: ShardHashesA tree of the most recent descriptions for all currently existing shards for all workchains except the masterchain.
fees: ShardFeesCollected/created shard fees.
prev_block_signatures: Dict<u16, BlockSignature>Signatures for previous blocks (TODO)
recover_create_msg: Option<Cell>TODO
mint_msg: Option<Cell>TODO
copyleft_msgs: Dict<Uint15, Cell>Copyleft messages if present.
config: Option<BlockchainConfig>Blockchain config (if the block is a key block).
Trait Implementations§
source§impl Clone for McBlockExtra
impl Clone for McBlockExtra
source§fn clone(&self) -> McBlockExtra
fn clone(&self) -> McBlockExtra
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 McBlockExtra
impl Debug for McBlockExtra
source§impl<'a> Load<'a> for McBlockExtra
impl<'a> Load<'a> for McBlockExtra
source§impl Store for McBlockExtra
impl Store for McBlockExtra
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.
Auto Trait Implementations§
impl !RefUnwindSafe for McBlockExtra
impl Send for McBlockExtra
impl Sync for McBlockExtra
impl Unpin for McBlockExtra
impl !UnwindSafe for McBlockExtra
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