Struct jsonrpc_core::types::response::Failure[][src]

pub struct Failure {
    pub jsonrpc: Option<Version>,
    pub error: Error,
    pub id: Id,

Unsuccessful response


jsonrpc: Option<Version>

Protocol Version

error: Error


id: Id

Correlation id

Trait Implementations

impl Clone for Failure[src]

impl Debug for Failure[src]

impl<'de> Deserialize<'de> for Failure[src]

impl From<Failure> for Response[src]

impl PartialEq<Failure> for Failure[src]

impl Serialize for Failure[src]

impl StructuralPartialEq for Failure[src]

Auto Trait Implementations

impl RefUnwindSafe for Failure

impl Send for Failure

impl Sync for Failure

impl Unpin for Failure

impl UnwindSafe for Failure

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.