pub struct HardForkConfiguration {
pub canyon_time: Option<u64>,
pub delta_time: Option<u64>,
pub ecotone_time: Option<u64>,
pub fjord_time: Option<u64>,
pub granite_time: Option<u64>,
pub holocene_time: Option<u64>,
}
Expand description
Hardfork configuration.
Fields§
§canyon_time: Option<u64>
Canyon hardfork activation time
delta_time: Option<u64>
Delta hardfork activation time
ecotone_time: Option<u64>
Ecotone hardfork activation time
fjord_time: Option<u64>
Fjord hardfork activation time
granite_time: Option<u64>
Granite hardfork activation time
holocene_time: Option<u64>
Holocene hardfork activation time
Trait Implementations§
Source§impl Clone for HardForkConfiguration
impl Clone for HardForkConfiguration
Source§fn clone(&self) -> HardForkConfiguration
fn clone(&self) -> HardForkConfiguration
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 HardForkConfiguration
impl Debug for HardForkConfiguration
Source§impl Default for HardForkConfiguration
impl Default for HardForkConfiguration
Source§fn default() -> HardForkConfiguration
fn default() -> HardForkConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HardForkConfiguration
impl<'de> Deserialize<'de> for HardForkConfiguration
Source§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
Source§impl Hash for HardForkConfiguration
impl Hash for HardForkConfiguration
Source§impl PartialEq for HardForkConfiguration
impl PartialEq for HardForkConfiguration
Source§impl Serialize for HardForkConfiguration
impl Serialize for HardForkConfiguration
impl Copy for HardForkConfiguration
impl Eq for HardForkConfiguration
impl StructuralPartialEq for HardForkConfiguration
Auto Trait Implementations§
impl Freeze for HardForkConfiguration
impl RefUnwindSafe for HardForkConfiguration
impl Send for HardForkConfiguration
impl Sync for HardForkConfiguration
impl Unpin for HardForkConfiguration
impl UnwindSafe for HardForkConfiguration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)