pub struct ChainRpcUrls {
pub http: &'static [&'static str],
pub web_socket: Option<&'static [&'static str]>,
}Expand description
RPC URL configuration for an EVM chain.
Fields§
§http: &'static [&'static str]HTTP RPC endpoints.
web_socket: Option<&'static [&'static str]>WebSocket RPC endpoints (optional).
Trait Implementations§
Source§impl Clone for ChainRpcUrls
impl Clone for ChainRpcUrls
Source§fn clone(&self) -> ChainRpcUrls
fn clone(&self) -> ChainRpcUrls
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 moreAuto Trait Implementations§
impl Freeze for ChainRpcUrls
impl RefUnwindSafe for ChainRpcUrls
impl Send for ChainRpcUrls
impl Sync for ChainRpcUrls
impl Unpin for ChainRpcUrls
impl UnsafeUnpin for ChainRpcUrls
impl UnwindSafe for ChainRpcUrls
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