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