Crate ez_jsonrpc_types
source ·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
- All structs are owned (i.e, there is no borrowing of data from the
Deserializer
), to facilitate ergonomics. - Appearances of dynamic JSON
Value
s are parameterised out, to allow deferred serialization using, i.e RawValue.
Re-exports§
pub use map::Map;
Modules§
- Extra support for parameter (de)serialization
Structs§
- A
JSON-RPC 2.0
error object. - A
JSON-RPC 2.0
request object. - A
JSON-RPC 2.0
response object.
Enums§
- See
Request::id
. To send several Request objects at the same time, the Client MAY send an Array filled with Request objects.
- A response to a
MaybeBatchedRequest
. If present, parameters for the rpc call MUST be provided as a Structured value. Either by-position through an Array or by-name through an Object.