Enum jsonrpc_lite::Params [] [src]

pub enum Params {
    Array(Vec<Value>),
    Map(Map<String, Value>),
    None,
}

A Structured value that holds the parameter values to be used during the invocation of the method. This member MAY be omitted.

Variants

Trait Implementations

impl Clone for Params
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Params
[src]

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

This method tests for !=.

impl Debug for Params
[src]

Formats the value using the given formatter.

impl ToJson for Params
[src]

Represent self as a serde_json::Value. Note that Value is not a JSON string. If you need a string, use serde_json::to_string instead. Read more