Struct ex3_node_types::block::BlockHeadExt
source · pub struct BlockHeadExt {
pub height: BlockHeight,
pub validate_on_chain: bool,
pub sharding_reported: bool,
pub has_local_body: bool,
}Fields§
§height: BlockHeight§validate_on_chain: bool§sharding_reported: bool§has_local_body: boolImplementations§
Trait Implementations§
source§impl Clone for BlockHeadExt
impl Clone for BlockHeadExt
source§fn clone(&self) -> BlockHeadExt
fn clone(&self) -> BlockHeadExt
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 BlockHeadExt
impl Debug for BlockHeadExt
source§impl PartialEq<BlockHeadExt> for BlockHeadExt
impl PartialEq<BlockHeadExt> for BlockHeadExt
source§fn eq(&self, other: &BlockHeadExt) -> bool
fn eq(&self, other: &BlockHeadExt) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<&[u8]> for BlockHeadExt
impl TryFrom<&[u8]> for BlockHeadExt
impl Eq for BlockHeadExt
impl StructuralEq for BlockHeadExt
impl StructuralPartialEq for BlockHeadExt
Auto Trait Implementations§
impl RefUnwindSafe for BlockHeadExt
impl Send for BlockHeadExt
impl Sync for BlockHeadExt
impl Unpin for BlockHeadExt
impl UnwindSafe for BlockHeadExt
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