Struct mcfunction_debug_adapter::api::CancelErrorResponse
source · pub struct CancelErrorResponse {
pub message: String,
pub body: ErrorResponseBody,
/* private fields */
}Fields§
§message: StringContains 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: ErrorResponseBodyImplementations§
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<CancelErrorResponse> for CancelErrorResponse
impl PartialEq<CancelErrorResponse> for CancelErrorResponse
source§fn eq(&self, other: &CancelErrorResponse) -> bool
fn eq(&self, other: &CancelErrorResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CancelErrorResponse
impl StructuralEq for CancelErrorResponse
impl StructuralPartialEq for CancelErrorResponse
Auto Trait Implementations§
impl RefUnwindSafe for CancelErrorResponse
impl Send for CancelErrorResponse
impl Sync for CancelErrorResponse
impl Unpin for CancelErrorResponse
impl UnwindSafe for CancelErrorResponse
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.