Expand description
JSON-RPCv2 data types
This library provides generic type definitions to serialize/deserialize JSON-RPC request/responses. It doesn’t contain implementation itself as it is intended to be used as building block of actual implementation.
§Features
id-str-only
- Forces ID deserialization to assume string only.id-number-only
- Forces ID deserialization to assume number only.
Re-exports§
pub use str_buf;
Structs§
- Error
- Error object, defined by JSON-RPC
- Request
- Request representation.
- Response
- Response representation.