pub struct RemoteNodeConfig {
pub ws_url: String,
pub http_url: String,
pub node: NodeType,
}Expand description
Remote node configuration
Fields§
§ws_url: StringWebSocket URL for the node (e.g., ws://localhost:8545)
http_url: StringHTTP URL for the node (e.g., http://localhost:8545)
node: NodeTypeNode type (Geth or Reth)
Implementations§
Trait Implementations§
Source§impl Clone for RemoteNodeConfig
impl Clone for RemoteNodeConfig
Source§fn clone(&self) -> RemoteNodeConfig
fn clone(&self) -> RemoteNodeConfig
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RemoteNodeConfig
impl Debug for RemoteNodeConfig
Source§impl<'de> Deserialize<'de> for RemoteNodeConfig
impl<'de> Deserialize<'de> for RemoteNodeConfig
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 RemoteNodeConfig
impl RefUnwindSafe for RemoteNodeConfig
impl Send for RemoteNodeConfig
impl Sync for RemoteNodeConfig
impl Unpin for RemoteNodeConfig
impl UnwindSafe for RemoteNodeConfig
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes