Struct jsonrpc_core::types::response::Failure
source · pub struct Failure {
pub jsonrpc: Option<Version>,
pub error: Error,
pub id: Id,
}
Expand description
Unsuccessful response
Fields§
§jsonrpc: Option<Version>
Protocol Version
error: Error
Error
id: Id
Correlation id
Trait Implementations§
source§impl<'de> Deserialize<'de> for Failure
impl<'de> Deserialize<'de> for Failure
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<Failure> for Failure
impl PartialEq<Failure> for Failure
impl StructuralPartialEq for Failure
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more