Struct jsonrpc_core::types::response::Success
[−]
[src]
pub struct Success { pub jsonrpc: Option<Version>, pub result: Value, pub id: Id, }
Successful response
Fields
jsonrpc: Option<Version>
Protocol version
result: Value
Result
id: Id
Correlation id
Trait Implementations
impl Debug for Success
[src]
impl PartialEq for Success
[src]
fn eq(&self, __arg_0: &Success) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Success) -> bool
This method tests for !=
.
impl Clone for Success
[src]
fn clone(&self) -> Success
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