Expand description
A transcription of types from the JSON-RPC 2.0
Specification.
When quoted, the specification will appear as blockquoted text, like so.
§Design
Modules§
- map
- A map of
String
s to values (typicallyValue
). - template
- Generic structs where you can customize, e.g zerocopy deserialization.
Type Aliases§
- Error
- JSON-RPC 2.0 Error object.
- Id
- JSON-RPC 2.0 request correlator.
- Map
- A map from strings to JSON
Value
s. - Maybe
Batched Request - See
template::MaybeBatchedRequest
for specification wording. - Maybe
Batched Response - See
template::MaybeBatchedResponse
for specification wording. - Request
- A JSON-RPC 2.0 request.
- Request
Parameters - JSON-RPC 2.0 request parameters (by-name or by-position).
- Response
- JSON-RPC 2.0 response.
- Result
- Result type where
Err
is a JSON-RPC 2.0Error
.