Struct ckb_types::core::UncleBlockView [−][src]
pub struct UncleBlockView { /* fields omitted */ }
Expand description
A readonly and immutable struct which includes UncleBlock
and its hash.
Notice
This struct is not implement the trait Default
, use BlockView::as_uncle()
to construct it.
Implementations
Gets a clone of packed::UncleBlock
.
Gets header.raw.number
.
Gets header.raw.compact_target
.
Gets header.raw.epoch
.
Gets header.raw.parent_hash
.
Gets header.raw.transactions_root
.
Gets header.raw.proposals_hash
.
Gets header.raw.extra_hash
.
Gets header.raw.difficulty
.
Gets header
.
Calculates the hash for proposals.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UncleBlockView
impl Send for UncleBlockView
impl Sync for UncleBlockView
impl Unpin for UncleBlockView
impl UnwindSafe for UncleBlockView
Blanket Implementations
Mutably borrows from an owned value. Read more