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