pub struct ForkConfigResponse {
pub network_id: u64,
pub block_number: Option<String>,
}Expand description
Fork configuration from API response
Fields§
§network_id: u64Network ID
block_number: Option<String>Block number as hex string (e.g., “0x170abab”)
Trait Implementations§
Source§impl Clone for ForkConfigResponse
impl Clone for ForkConfigResponse
Source§fn clone(&self) -> ForkConfigResponse
fn clone(&self) -> ForkConfigResponse
Returns a duplicate 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 ForkConfigResponse
impl Debug for ForkConfigResponse
Source§impl<'de> Deserialize<'de> for ForkConfigResponse
impl<'de> Deserialize<'de> for ForkConfigResponse
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
Auto Trait Implementations§
impl Freeze for ForkConfigResponse
impl RefUnwindSafe for ForkConfigResponse
impl Send for ForkConfigResponse
impl Sync for ForkConfigResponse
impl Unpin for ForkConfigResponse
impl UnwindSafe for ForkConfigResponse
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