Struct everscale_types::models::shard::KeyBlockRef
source · pub struct KeyBlockRef {
pub is_key_block: bool,
pub block_ref: BlockRef,
}Expand description
Entry value for the OldMcBlocksInfo dictionary.
Fields§
§is_key_block: boolWhether the referenced block is a key block.
block_ref: BlockRefReference to the block.
Trait Implementations§
source§impl Clone for KeyBlockRef
impl Clone for KeyBlockRef
source§fn clone(&self) -> KeyBlockRef
fn clone(&self) -> KeyBlockRef
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 KeyBlockRef
impl Debug for KeyBlockRef
source§impl<'tlb> Load<'tlb> for KeyBlockRef
impl<'tlb> Load<'tlb> for KeyBlockRef
source§impl PartialEq<KeyBlockRef> for KeyBlockRef
impl PartialEq<KeyBlockRef> for KeyBlockRef
source§fn eq(&self, other: &KeyBlockRef) -> bool
fn eq(&self, other: &KeyBlockRef) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Store for KeyBlockRef
impl Store for KeyBlockRef
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 KeyBlockRef
impl StructuralEq for KeyBlockRef
impl StructuralPartialEq for KeyBlockRef
Auto Trait Implementations§
impl RefUnwindSafe for KeyBlockRef
impl Send for KeyBlockRef
impl Sync for KeyBlockRef
impl Unpin for KeyBlockRef
impl UnwindSafe for KeyBlockRef
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