pub struct EndpointUrl {
pub http_url: String,
pub wss_url: Option<String>,
}Expand description
HTTP/WSS URL pair for a single network on a multichain endpoint.
Fields§
§http_url: StringHTTP RPC URL.
wss_url: Option<String>WebSocket RPC URL, when available.
Trait Implementations§
Source§impl Clone for EndpointUrl
impl Clone for EndpointUrl
Source§fn clone(&self) -> EndpointUrl
fn clone(&self) -> EndpointUrl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EndpointUrl
impl Debug for EndpointUrl
Source§impl<'de> Deserialize<'de> for EndpointUrl
impl<'de> Deserialize<'de> for EndpointUrl
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 EndpointUrl
impl RefUnwindSafe for EndpointUrl
impl Send for EndpointUrl
impl Sync for EndpointUrl
impl Unpin for EndpointUrl
impl UnsafeUnpin for EndpointUrl
impl UnwindSafe for EndpointUrl
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