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