pub struct IrError {
pub id: Option<RequestId>,
pub code: IrErrorCode,
pub message: String,
pub data: Option<JsonObject>,
pub extensions: Extensions,
}Expand description
An error result.
Fields§
§id: Option<RequestId>The request this answers.
code: IrErrorCodeThe error code.
message: StringA short human-readable message.
data: Option<JsonObject>Structured detail, if any.
extensions: ExtensionsUnmodelled fields.
Implementations§
Trait Implementations§
impl StructuralPartialEq for IrError
Auto Trait Implementations§
impl Freeze for IrError
impl RefUnwindSafe for IrError
impl Send for IrError
impl Sync for IrError
impl Unpin for IrError
impl UnsafeUnpin for IrError
impl UnwindSafe for IrError
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