pub struct ResponseError {
pub request_id: RequestId,
pub error_code: i32,
pub error_kind: u8,
pub error_message: Option<String>,
pub error_details: Payload,
}Fields§
§request_id: RequestId§error_code: i32§error_kind: u8§error_message: Option<String>§error_details: PayloadTrait Implementations§
Source§impl Clone for ResponseError
impl Clone for ResponseError
Source§fn clone(&self) -> ResponseError
fn clone(&self) -> ResponseError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResponseError
impl Debug for ResponseError
Source§impl PartialEq for ResponseError
impl PartialEq for ResponseError
Source§fn eq(&self, other: &ResponseError) -> bool
fn eq(&self, other: &ResponseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResponseError
Auto Trait Implementations§
impl Freeze for ResponseError
impl RefUnwindSafe for ResponseError
impl Send for ResponseError
impl Sync for ResponseError
impl Unpin for ResponseError
impl UnsafeUnpin for ResponseError
impl UnwindSafe for ResponseError
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