Enum jsonrpc::jsonrpc_message::Message [] [src]

pub enum Message {
    Request(Request),
    Response(Response),
}

Variants

Trait Implementations

impl Debug for Message
[src]

Formats the value using the given formatter.

impl PartialEq for Message
[src]

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

This method tests for !=.

impl Clone for Message
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<Response> for Message
[src]

Performs the conversion.

impl From<Request> for Message
[src]

Performs the conversion.

impl Serialize for Message
[src]

Serializes this value into this serializer.

impl Deserialize for Message
[src]

Deserialize this value given this Deserializer.