pub struct CancelErrorResponse {
pub message: String,
pub body: ErrorResponseBody,
/* private fields */
}
Fields§
§message: String
Contains the raw error in short form if ‘success’ is false. This raw error might be interpreted by the frontend and is not shown in the UI. Some predefined values exist. Values: ‘cancelled’: request was cancelled. etc.
body: ErrorResponseBody
Implementations§
Trait Implementations§
Source§impl Clone for CancelErrorResponse
impl Clone for CancelErrorResponse
Source§fn clone(&self) -> CancelErrorResponse
fn clone(&self) -> CancelErrorResponse
Returns a copy of the value. Read more
1.0.0 · 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 CancelErrorResponse
impl Debug for CancelErrorResponse
Source§impl From<CancelErrorResponse> for ErrorResponse
impl From<CancelErrorResponse> for ErrorResponse
Source§fn from(value: CancelErrorResponse) -> Self
fn from(value: CancelErrorResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CancelErrorResponse
impl PartialEq for CancelErrorResponse
impl Eq for CancelErrorResponse
impl StructuralPartialEq for CancelErrorResponse
Auto Trait Implementations§
impl Freeze for CancelErrorResponse
impl RefUnwindSafe for CancelErrorResponse
impl Send for CancelErrorResponse
impl Sync for CancelErrorResponse
impl Unpin for CancelErrorResponse
impl UnwindSafe for CancelErrorResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.