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