Struct ckb_jsonrpc_types::HardForkFeature [−][src]
pub struct HardForkFeature {
pub rfc: String,
pub epoch_number: Option<EpochNumber>,
}
Expand description
The information about one hardfork feature.
Fields
rfc: String
The related RFC ID.
epoch_number: Option<EpochNumber>
The first epoch when the feature is enabled.
Implementations
Creates a new struct.
Returns a list of hardfork features from a hardfork switch.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for HardForkFeature
impl Send for HardForkFeature
impl Sync for HardForkFeature
impl Unpin for HardForkFeature
impl UnwindSafe for HardForkFeature
Blanket Implementations
Mutably borrows from an owned value. Read more