Struct rmp_rpc::Request
[−]
[src]
pub struct Request { pub id: u32, pub method: String, pub params: Vec<Value>, }
Represents a MessagePack-RPC
request as described in the
specifications
Fields
id: u32
method: String
params: Vec<Value>
Trait Implementations
impl PartialEq for Request
[src]
fn eq(&self, __arg_0: &Request) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Request) -> bool
This method tests for !=
.
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