pub struct EpochExtBuilder { /* private fields */ }
Implementations§
Source§impl EpochExtBuilder
impl EpochExtBuilder
pub const TOTAL_SIZE: usize = 108usize
pub const FIELD_SIZES: [usize; 8] = _
pub const FIELD_COUNT: usize = 8usize
pub fn previous_epoch_hash_rate(self, v: Uint256) -> EpochExtBuilder
pub fn last_block_hash_in_previous_epoch(self, v: Byte32) -> EpochExtBuilder
pub fn compact_target(self, v: Uint32) -> EpochExtBuilder
pub fn number(self, v: Uint64) -> EpochExtBuilder
pub fn base_block_reward(self, v: Uint64) -> EpochExtBuilder
pub fn remainder_reward(self, v: Uint64) -> EpochExtBuilder
pub fn start_number(self, v: Uint64) -> EpochExtBuilder
pub fn length(self, v: Uint64) -> EpochExtBuilder
Trait Implementations§
Source§impl Builder for EpochExtBuilder
impl Builder for EpochExtBuilder
Source§impl Debug for EpochExtBuilder
impl Debug for EpochExtBuilder
Source§impl Default for EpochExtBuilder
impl Default for EpochExtBuilder
Source§fn default() -> EpochExtBuilder
fn default() -> EpochExtBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for EpochExtBuilder
impl RefUnwindSafe for EpochExtBuilder
impl Send for EpochExtBuilder
impl Sync for EpochExtBuilder
impl Unpin for EpochExtBuilder
impl UnwindSafe for EpochExtBuilder
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