pub struct ChainRpc {
pub url: String,
pub tracking: Option<Tracking>,
pub open_source: Option<bool>,
}Expand description
The ChainRpc object.
Fields§
§url: StringThe RPC URL.
tracking: Option<Tracking>If the RPC is being tracked.
open_source: Option<bool>Whether the RPC is open source.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChainRpc
impl<'de> Deserialize<'de> for ChainRpc
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
impl Eq for ChainRpc
impl StructuralPartialEq for ChainRpc
Auto Trait Implementations§
impl Freeze for ChainRpc
impl RefUnwindSafe for ChainRpc
impl Send for ChainRpc
impl Sync for ChainRpc
impl Unpin for ChainRpc
impl UnwindSafe for ChainRpc
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