pub struct Forking {
pub json_rpc_url: Option<String>,
pub block_number: Option<u64>,
}
Expand description
Represents the params to set forking which can take various forms:
- untagged
- tagged forking
Fields§
§json_rpc_url: Option<String>
The URL of the JSON-RPC endpoint to fork from.
block_number: Option<u64>
The block number to fork from.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Forking
impl<'de> Deserialize<'de> for Forking
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
impl Eq for Forking
impl StructuralPartialEq for Forking
Auto Trait Implementations§
impl Freeze for Forking
impl RefUnwindSafe for Forking
impl Send for Forking
impl Sync for Forking
impl Unpin for Forking
impl UnwindSafe for Forking
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
)