pub struct GetEndpointUrlsData {
pub http_url: String,
pub wss_url: Option<String>,
pub multichain_urls: Option<HashMap<String, EndpointUrl>>,
}Expand description
Inner data for get_endpoint_urls — the http/wss URLs for the endpoint and,
when the endpoint is multichain, a per-network map of additional URLs.
Fields§
§http_url: StringHTTP RPC URL.
wss_url: Option<String>WebSocket RPC URL, when available.
multichain_urls: Option<HashMap<String, EndpointUrl>>Per-network URLs for multichain endpoints; None for single-chain endpoints.
Trait Implementations§
Source§impl Clone for GetEndpointUrlsData
impl Clone for GetEndpointUrlsData
Source§fn clone(&self) -> GetEndpointUrlsData
fn clone(&self) -> GetEndpointUrlsData
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 GetEndpointUrlsData
impl Debug for GetEndpointUrlsData
Source§impl<'de> Deserialize<'de> for GetEndpointUrlsData
impl<'de> Deserialize<'de> for GetEndpointUrlsData
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 GetEndpointUrlsData
impl RefUnwindSafe for GetEndpointUrlsData
impl Send for GetEndpointUrlsData
impl Sync for GetEndpointUrlsData
impl Unpin for GetEndpointUrlsData
impl UnsafeUnpin for GetEndpointUrlsData
impl UnwindSafe for GetEndpointUrlsData
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