pub struct JsonRpcRequestForExperimentalViewGasKey {
pub id: String,
pub jsonrpc: String,
pub method: JsonRpcRequestForExperimentalViewGasKeyMethod,
pub params: RpcViewGasKeyRequest,
}Expand description
JsonRpcRequestForExperimentalViewGasKey
JSON schema
{
"title": "JsonRpcRequest_for_EXPERIMENTAL_view_gas_key",
"type": "object",
"required": [
"id",
"jsonrpc",
"method",
"params"
],
"properties": {
"id": {
"type": "string"
},
"jsonrpc": {
"type": "string"
},
"method": {
"type": "string",
"enum": [
"EXPERIMENTAL_view_gas_key"
]
},
"params": {
"$ref": "#/components/schemas/RpcViewGasKeyRequest"
}
}
}Fields§
§id: String§jsonrpc: String§method: JsonRpcRequestForExperimentalViewGasKeyMethod§params: RpcViewGasKeyRequestTrait Implementations§
Source§impl Clone for JsonRpcRequestForExperimentalViewGasKey
impl Clone for JsonRpcRequestForExperimentalViewGasKey
Source§fn clone(&self) -> JsonRpcRequestForExperimentalViewGasKey
fn clone(&self) -> JsonRpcRequestForExperimentalViewGasKey
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 moreSource§impl<'de> Deserialize<'de> for JsonRpcRequestForExperimentalViewGasKey
impl<'de> Deserialize<'de> for JsonRpcRequestForExperimentalViewGasKey
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
Source§impl From<&JsonRpcRequestForExperimentalViewGasKey> for JsonRpcRequestForExperimentalViewGasKey
impl From<&JsonRpcRequestForExperimentalViewGasKey> for JsonRpcRequestForExperimentalViewGasKey
Source§fn from(value: &JsonRpcRequestForExperimentalViewGasKey) -> Self
fn from(value: &JsonRpcRequestForExperimentalViewGasKey) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for JsonRpcRequestForExperimentalViewGasKey
impl RefUnwindSafe for JsonRpcRequestForExperimentalViewGasKey
impl Send for JsonRpcRequestForExperimentalViewGasKey
impl Sync for JsonRpcRequestForExperimentalViewGasKey
impl Unpin for JsonRpcRequestForExperimentalViewGasKey
impl UnsafeUnpin for JsonRpcRequestForExperimentalViewGasKey
impl UnwindSafe for JsonRpcRequestForExperimentalViewGasKey
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