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: RpcSendTransactionRequestTrait 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§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 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<JsonRpcRequestForSendTx, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<JsonRpcRequestForSendTx, <__D as Deserializer<'de>>::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) -> JsonRpcRequestForSendTx
fn from(value: &JsonRpcRequestForSendTx) -> JsonRpcRequestForSendTx
Converts to this type from the input type.
Source§impl Serialize for JsonRpcRequestForSendTx
impl Serialize for JsonRpcRequestForSendTx
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 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