pub struct RpcNetworkInfoRequest(pub Map<String, Value>);Expand description
RpcNetworkInfoRequest
JSON schema
{
"title": "RpcNetworkInfoRequest",
"type": "object"
}Tuple Fields§
§0: Map<String, Value>Methods from Deref<Target = Map<String, Value>>§
Sourcepub fn get<Q>(&self, key: &Q) -> Option<&Value>
pub fn get<Q>(&self, key: &Q) -> Option<&Value>
Returns a reference to the value corresponding to the key.
The key may be any borrowed form of the map’s key type, but the ordering on the borrowed form must match the ordering on the key type.
Sourcepub fn contains_key<Q>(&self, key: &Q) -> bool
pub fn contains_key<Q>(&self, key: &Q) -> bool
Returns true if the map contains a value for the specified key.
The key may be any borrowed form of the map’s key type, but the ordering on the borrowed form must match the ordering on the key type.
Trait Implementations§
Source§impl Clone for RpcNetworkInfoRequest
impl Clone for RpcNetworkInfoRequest
Source§fn clone(&self) -> RpcNetworkInfoRequest
fn clone(&self) -> RpcNetworkInfoRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RpcNetworkInfoRequest
impl Debug for RpcNetworkInfoRequest
Source§impl Deref for RpcNetworkInfoRequest
impl Deref for RpcNetworkInfoRequest
Source§impl<'de> Deserialize<'de> for RpcNetworkInfoRequest
impl<'de> Deserialize<'de> for RpcNetworkInfoRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RpcNetworkInfoRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RpcNetworkInfoRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&RpcNetworkInfoRequest> for RpcNetworkInfoRequest
impl From<&RpcNetworkInfoRequest> for RpcNetworkInfoRequest
Source§fn from(value: &RpcNetworkInfoRequest) -> RpcNetworkInfoRequest
fn from(value: &RpcNetworkInfoRequest) -> RpcNetworkInfoRequest
Converts to this type from the input type.
Source§impl Serialize for RpcNetworkInfoRequest
impl Serialize for RpcNetworkInfoRequest
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for RpcNetworkInfoRequest
impl RefUnwindSafe for RpcNetworkInfoRequest
impl Send for RpcNetworkInfoRequest
impl Sync for RpcNetworkInfoRequest
impl Unpin for RpcNetworkInfoRequest
impl UnwindSafe for RpcNetworkInfoRequest
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