Struct diem_json_rpc_types::request::RawJsonRpcRequest
source · pub struct RawJsonRpcRequest {
pub jsonrpc: Value,
pub method: Value,
pub params: Value,
pub id: Id,
}
Fields§
§jsonrpc: Value
§method: Value
§params: Value
§id: Id
Trait Implementations§
source§impl Debug for RawJsonRpcRequest
impl Debug for RawJsonRpcRequest
source§impl<'de> Deserialize<'de> for RawJsonRpcRequest
impl<'de> Deserialize<'de> for RawJsonRpcRequest
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
Auto Trait Implementations§
impl RefUnwindSafe for RawJsonRpcRequest
impl Send for RawJsonRpcRequest
impl Sync for RawJsonRpcRequest
impl Unpin for RawJsonRpcRequest
impl UnwindSafe for RawJsonRpcRequest
Blanket Implementations§
§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.