Module jsonrpc_types::v2[][src]

JSON-RPC 2.0 types.

Structs

Error

JSON-RPC Error Object.

Failure

Represents JSON-RPC 2.0 failure response.

Map

Represents a JSON key/value type.

MethodCall

Represents JSON-RPC 2.0 request which is a method call.

Notification

Represents JSON-RPC 2.0 request which is a notification.

SubscriptionNotification

Server notification about something the client is subscribed to.

SubscriptionNotificationParams

Parameters of the subscription notification.

Success

Represents JSON-RPC 2.0 success response.

Enums

Call

Represents single JSON-RPC 2.0 call.

ErrorCode

JSON-RPC Error Code.

Id

Represents JSON-RPC request id.

MethodCallRequest

JSON-RPC 2.0 Request object (only for method call).

Output

Represents success / failure output of JSON-RPC 2.0 response.

Params

Represents JSON-RPC 2.0 request parameters.

Request

JSON-RPC 2.0 Request object.

Response

JSON-RPC 2.0 Response object.

Value

Represents any valid JSON value.

Version

JSON-RPC Protocol Version.