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

    const METHOD: &'static str;
}
Expand description

A JSON-RPC requiring the “params” field to be absent.

Required Associated Types

The JSON-RPC response’s “result” type.

Required Associated Constants

The JSON-RPC “method” name.

Implementors