Struct exonum_jsonrpc::Request
[−]
[src]
pub struct Request { pub method: String, pub params: Vec<Value>, pub id: Value, }
A JSONRPC request object
Fields
method: String
A String containing the name of the method to be invoked
params: Vec<Value>
An Array of objects to pass as arguments to the method
id: Value
The request id. This can be of any type. It is used to match the response with the request that it is replying to
Trait Implementations
impl Clone for Request
[src]
fn clone(&self) -> Request
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more