Struct tokio_jsonrpc::message::Request [] [src]

pub struct Request {
    pub method: String,
    pub params: Option<Value>,
    pub id: Value,
    // some fields omitted
}

An RPC request.

Fields

Methods

impl Request
[src]

Answer the request with a (positive) reply.

The ID is taken from the request.

Answer the request with an error.

Trait Implementations

impl Debug for Request
[src]

Formats the value using the given formatter.

impl Clone for Request
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Request
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.