[][src]Trait casper_node::rpcs::RpcWithParams

pub trait RpcWithParams {
    type RequestParams: Serialize + for<'de> Deserialize<'de> + JsonSchema + DocExample + Send + 'static;
    type ResponseResult: Serialize + for<'de> Deserialize<'de> + JsonSchema + DocExample + Send + 'static;

    pub const METHOD: &'static str;
}

A JSON-RPC requiring the "params" field to be present.

Associated Types

type RequestParams: Serialize + for<'de> Deserialize<'de> + JsonSchema + DocExample + Send + 'static[src]

The JSON-RPC request's "params" type.

type ResponseResult: Serialize + for<'de> Deserialize<'de> + JsonSchema + DocExample + Send + 'static[src]

The JSON-RPC response's "result" type.

Loading content...

Associated Constants

pub const METHOD: &'static str[src]

The JSON-RPC "method" name.

Loading content...

Implementors

impl RpcWithParams for PutDeploy[src]

impl RpcWithParams for GetDeploy[src]

impl RpcWithParams for GetBalance[src]

impl RpcWithParams for GetItem[src]

Loading content...