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

Array(Vec<Value>)Map(Map<String, Value>)None

Trait Implementations

impl Debug for Params
[src]

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

Formats the value using the given formatter.

impl PartialEq for Params
[src]

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

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

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

This method tests for !=.

impl Clone for Params
[src]

fn clone(&self) -> Params

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl ToJson for Params
[src]

fn to_json(&self) -> Value

Converts the value of self to an instance of JSON