1
2
3
4
5
6
7
8
9
10
11
12
use serde::Deserialize;
use serde_json::Value;

#[derive(Clone, Debug, Deserialize)]
pub struct Request {
    pub id: Value,
    pub method: String,
    pub jsonrpc: String,

    #[serde(default)]
    pub params: Vec<Value>,
}