Enum jsonrpc_core::types::params::Params [] [src]

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

Request parameters

Variants

Array of values

Map of values

No parameters

Methods

impl Params
[src]

Parse incoming Params into expected types.

Trait Implementations

impl Debug for Params
[src]

Formats the value using the given formatter.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Serialize for Params
[src]

Serialize this value into the given Serde serializer. Read more

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

Deserialize this value from the given Serde deserializer. Read more