pub struct ErrorRes {
pub jsonrpc: ProtocolVersion,
pub id: RequestId,
pub code: i64,
pub message: String,
pub data: Option<Value>,
}
Expand description
Represents a failed response.
Fields§
§jsonrpc: ProtocolVersion
§id: RequestId
§code: i64
§message: String
§data: Option<Value>
Trait Implementations§
impl Eq for ErrorRes
impl StructuralPartialEq for ErrorRes
Auto Trait Implementations§
impl Freeze for ErrorRes
impl RefUnwindSafe for ErrorRes
impl Send for ErrorRes
impl Sync for ErrorRes
impl Unpin for ErrorRes
impl UnwindSafe for ErrorRes
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