Struct tokio_jsonrpc::message::Response [] [src]

pub struct Response {
    pub result: Result<Value, RpcError>,
    pub id: Value,
    // some fields omitted
}

A response to an RPC.

It is created by the methods on Request.

Fields

Trait Implementations

impl Debug for Response
[src]

Formats the value using the given formatter.

impl Clone for Response
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Response
[src]

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

This method tests for !=.

impl Serialize for Response
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for Response
[src]

Deserialize this value from the given Serde deserializer. Read more