Struct exonum_jsonrpc::Request [−][src]
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]
impl Clone for Request
fn clone(&self) -> Request
[src]
fn clone(&self) -> Request
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Request
[src]
impl Debug for Request
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Request
[src]
impl PartialEq for Request