Struct everscale_types::models::block::BlockExtra
source · pub struct BlockExtra {
pub in_msg_description: Cell,
pub out_msg_description: Cell,
pub account_blocks: Lazy<AugDict<CellHash, CurrencyCollection, AccountBlock>>,
pub rand_seed: CellHash,
pub created_by: CellHash,
pub custom: Option<Lazy<McBlockExtra>>,
}Expand description
Block content.
Fields§
§in_msg_description: CellIncoming message description.
out_msg_description: CellOutgoing message description.
account_blocks: Lazy<AugDict<CellHash, CurrencyCollection, AccountBlock>>Block transactions info.
rand_seed: CellHashRandom generator seed.
created_by: CellHashPublic key of the collator who produced this block.
custom: Option<Lazy<McBlockExtra>>Additional block content.
Implementations§
source§impl BlockExtra
impl BlockExtra
sourcepub fn load_custom(&self) -> Result<Option<McBlockExtra>, Error>
pub fn load_custom(&self) -> Result<Option<McBlockExtra>, Error>
Tries to load additional block content.
Trait Implementations§
source§impl Clone for BlockExtra
impl Clone for BlockExtra
source§fn clone(&self) -> BlockExtra
fn clone(&self) -> BlockExtra
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 BlockExtra
impl Debug for BlockExtra
source§impl<'tlb> Load<'tlb> for BlockExtra
impl<'tlb> Load<'tlb> for BlockExtra
source§impl Store for BlockExtra
impl Store for BlockExtra
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.