pub struct JsonRpcRequestForTx {
pub id: String,
pub jsonrpc: String,
pub method: JsonRpcRequestForTxMethod,
pub params: RpcTransactionStatusRequest,
}Expand description
JsonRpcRequestForTx
JSON schema
{
"title": "JsonRpcRequest_for_tx",
"type": "object",
"required": [
"id",
"jsonrpc",
"method",
"params"
],
"properties": {
"id": {
"type": "string"
},
"jsonrpc": {
"type": "string"
},
"method": {
"type": "string",
"enum": [
"tx"
]
},
"params": {
"$ref": "#/components/schemas/RpcTransactionStatusRequest"
}
}
}Fields§
§id: String§jsonrpc: String§method: JsonRpcRequestForTxMethod§params: RpcTransactionStatusRequestTrait Implementations§
Source§impl Clone for JsonRpcRequestForTx
impl Clone for JsonRpcRequestForTx
Source§fn clone(&self) -> JsonRpcRequestForTx
fn clone(&self) -> JsonRpcRequestForTx
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 JsonRpcRequestForTx
impl Debug for JsonRpcRequestForTx
Source§impl<'de> Deserialize<'de> for JsonRpcRequestForTx
impl<'de> Deserialize<'de> for JsonRpcRequestForTx
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<JsonRpcRequestForTx, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<JsonRpcRequestForTx, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&JsonRpcRequestForTx> for JsonRpcRequestForTx
impl From<&JsonRpcRequestForTx> for JsonRpcRequestForTx
Source§fn from(value: &JsonRpcRequestForTx) -> JsonRpcRequestForTx
fn from(value: &JsonRpcRequestForTx) -> JsonRpcRequestForTx
Converts to this type from the input type.
Source§impl Serialize for JsonRpcRequestForTx
impl Serialize for JsonRpcRequestForTx
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 JsonRpcRequestForTx
impl RefUnwindSafe for JsonRpcRequestForTx
impl Send for JsonRpcRequestForTx
impl Sync for JsonRpcRequestForTx
impl Unpin for JsonRpcRequestForTx
impl UnwindSafe for JsonRpcRequestForTx
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