pub struct ForkSpec {
pub chain_id: ChainId,
pub activation: ForkActivation,
}Expand description
Ethereum fork rules selected for a validation operation.
Fields§
§chain_id: ChainIdChain being validated.
activation: ForkActivationActivation rule for this fork view.
Trait Implementations§
impl Copy for ForkSpec
impl Eq for ForkSpec
impl StructuralPartialEq for ForkSpec
Auto Trait Implementations§
impl Freeze for ForkSpec
impl RefUnwindSafe for ForkSpec
impl Send for ForkSpec
impl Sync for ForkSpec
impl Unpin for ForkSpec
impl UnsafeUnpin for ForkSpec
impl UnwindSafe for ForkSpec
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