fn new(method: &'a str, params: Vec<Param>) -> Self {
        Self {
            id: 0,
            jsonrpc: JSONRPC_2_0,
            method,
            params,
        }
    }
/// Creates a new request with a default id
Creates a new request with a default id
Creates a new request with a default id
fn new(method: &'a str, params: Vec<Param>) -> Self {
        Self {
            id: 0,
            jsonrpc: JSONRPC_2_0,
            method,
            params,
        }
    }
fn new ( method : & ' a str , params : Vec < Param > ) -> Self { Self { id : 0 , jsonrpc : JSONRPC_2_0 , method , params , } }
Creates a new request with a default id
Creates a new request with a default id
method
&'a str
params
Vec<Param>
method
&'a str
params
Vec<Param>