Struct exonum_jsonrpc::Request [] [src]

pub struct Request {
    pub method: String,
    pub params: Vec<Value>,
    pub id: Value,
}

A JSONRPC request object

Fields

A String containing the name of the method to be invoked

An Array of objects to pass as arguments to the method

The request id. This can be of any type. It is used to match the response with the request that it is replying to

Trait Implementations

impl Clone for Request
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Request
[src]

Formats the value using the given formatter.

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 !=.