Struct ckb_types::core::hardfork::CKB2023Builder
source · pub struct CKB2023Builder { /* private fields */ }
Expand description
Builder for CKB2023
.
Implementations§
source§impl CKB2023Builder
impl CKB2023Builder
sourcepub fn rfc_0048(self, epoch_number: EpochNumber) -> Self
pub fn rfc_0048(self, epoch_number: EpochNumber) -> Self
Set the first epoch number of the RFC PR 0048.
sourcepub fn disable_rfc_0048(self) -> Self
pub fn disable_rfc_0048(self) -> Self
Never enable the RFC PR 0048.
source§impl CKB2023Builder
impl CKB2023Builder
sourcepub fn rfc_0049(self, epoch_number: EpochNumber) -> Self
pub fn rfc_0049(self, epoch_number: EpochNumber) -> Self
Set the first epoch number of the RFC PR 0049.
sourcepub fn disable_rfc_0049(self) -> Self
pub fn disable_rfc_0049(self) -> Self
Never enable the RFC PR 0049.
Trait Implementations§
source§impl Clone for CKB2023Builder
impl Clone for CKB2023Builder
source§fn clone(&self) -> CKB2023Builder
fn clone(&self) -> CKB2023Builder
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 CKB2023Builder
impl Debug for CKB2023Builder
source§impl Default for CKB2023Builder
impl Default for CKB2023Builder
source§fn default() -> CKB2023Builder
fn default() -> CKB2023Builder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CKB2023Builder
impl RefUnwindSafe for CKB2023Builder
impl Send for CKB2023Builder
impl Sync for CKB2023Builder
impl Unpin for CKB2023Builder
impl UnwindSafe for CKB2023Builder
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