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 From<Value> for Params
[src]

Performs the conversion.

impl From<Vec<Value>> for Params
[src]

Performs the conversion.

impl From<Map<String, Value>> for Params
[src]

Performs the conversion.