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

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

Represents single jsonrpc call.

Variants

Call method

Fire notification

Invalid call

Trait Implementations

impl Debug for Call
[src]

Formats the value using the given formatter.

impl PartialEq for Call
[src]

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

This method tests for !=.

impl From<MethodCall> for Call
[src]

Performs the conversion.

impl From<Notification> for Call
[src]

Performs the conversion.

impl Serialize for Call
[src]

Serialize this value into the given Serde serializer. Read more

impl<'a> Deserialize<'a> for Call
[src]

Deserialize this value from the given Serde deserializer. Read more