pub struct HeaderDigestBuilder { /* private fields */ }
Implementations§
Source§impl HeaderDigestBuilder
impl HeaderDigestBuilder
pub const TOTAL_SIZE: usize = 120usize
pub const FIELD_SIZES: [usize; 10] = _
pub const FIELD_COUNT: usize = 10usize
pub fn children_hash(self, v: Byte32) -> HeaderDigestBuilder
pub fn total_difficulty(self, v: Uint256) -> HeaderDigestBuilder
pub fn start_number(self, v: Uint64) -> HeaderDigestBuilder
pub fn end_number(self, v: Uint64) -> HeaderDigestBuilder
pub fn start_epoch(self, v: Uint64) -> HeaderDigestBuilder
pub fn end_epoch(self, v: Uint64) -> HeaderDigestBuilder
pub fn start_timestamp(self, v: Uint64) -> HeaderDigestBuilder
pub fn end_timestamp(self, v: Uint64) -> HeaderDigestBuilder
pub fn start_compact_target(self, v: Uint32) -> HeaderDigestBuilder
pub fn end_compact_target(self, v: Uint32) -> HeaderDigestBuilder
Trait Implementations§
Source§impl Builder for HeaderDigestBuilder
impl Builder for HeaderDigestBuilder
Source§impl Debug for HeaderDigestBuilder
impl Debug for HeaderDigestBuilder
Source§impl Default for HeaderDigestBuilder
impl Default for HeaderDigestBuilder
Source§fn default() -> HeaderDigestBuilder
fn default() -> HeaderDigestBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for HeaderDigestBuilder
impl RefUnwindSafe for HeaderDigestBuilder
impl Send for HeaderDigestBuilder
impl Sync for HeaderDigestBuilder
impl Unpin for HeaderDigestBuilder
impl UnwindSafe for HeaderDigestBuilder
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