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: RpcTransactionStatusRequest
Trait 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§fn clone_from(&mut self, source: &Self)
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<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<&JsonRpcRequestForTx> for JsonRpcRequestForTx
impl From<&JsonRpcRequestForTx> for JsonRpcRequestForTx
Source§fn from(value: &JsonRpcRequestForTx) -> Self
fn from(value: &JsonRpcRequestForTx) -> Self
Converts to this type from the input type.
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