Enum jsonrpc_core::response::Response [] [src]

pub enum Response {
    Single(Output),
    Batch(Vec<Output>),
}

Variants

Single(Output)Batch(Vec<Output>)

Trait Implementations

impl Debug for Response
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for Response
[src]

fn eq(&self, __arg_0: &Response) -> bool

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

fn ne(&self, __arg_0: &Response) -> bool

This method tests for !=.

impl Deserialize for Response
[src]

fn deserialize<D>(deserializer: &mut D) -> Result<Response, D::Error> where D: Deserializer

Deserialize this value given this Deserializer.

impl Serialize for Response
[src]

fn serialize<S>(&self, serializer: &mut S) -> Result<(), S::Error> where S: Serializer

Serializes this value into this serializer.