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