Enum jsonrpc_core::request::Call [] [src]

pub enum Call {
    MethodCall(MethodCall),
    Notification(Notification),
    Invalid,
}

Represents single jsonrpc call.

Variants

MethodCall(MethodCall)Notification(Notification)Invalid

Trait Implementations

impl Debug for Call
[src]

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

Formats the value using the given formatter.

impl PartialEq for Call
[src]

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

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

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

This method tests for !=.

impl Serialize for Call
[src]

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

Serializes this value into this serializer.

impl Deserialize for Call
[src]

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

Deserialize this value given this Deserializer.