Struct ckb_types::core::HeaderBuilder [−][src]
pub struct HeaderBuilder { /* fields omitted */ }
Expand description
An advanced builder for HeaderView
.
Base on packed::HeaderBuilder
but added lots of syntactic sugar.
Implementations
Sets parent_hash
.
Sets transactions_root
.
Sets proposals_hash
.
Sets compact_target
.
Sets extra_hash
.
Converts into HeaderView
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for HeaderBuilder
impl Send for HeaderBuilder
impl Sync for HeaderBuilder
impl Unpin for HeaderBuilder
impl UnwindSafe for HeaderBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more