pub struct ErrorResponse {
pub error: Option<ErrorDefinition>,
}
Expand description
Error response indicates that the service is not able to process the incoming request.
Fields§
§error: Option<ErrorDefinition>
Error definition.
Implementations§
source§impl ErrorResponse
impl ErrorResponse
Trait Implementations§
source§impl Clone for ErrorResponse
impl Clone for ErrorResponse
source§fn clone(&self) -> ErrorResponse
fn clone(&self) -> ErrorResponse
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 Continuable for ErrorResponse
impl Continuable for ErrorResponse
type Continuation = String
fn continuation(&self) -> Option<Self::Continuation>
source§impl Debug for ErrorResponse
impl Debug for ErrorResponse
source§impl Default for ErrorResponse
impl Default for ErrorResponse
source§fn default() -> ErrorResponse
fn default() -> ErrorResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ErrorResponse
impl<'de> Deserialize<'de> for ErrorResponse
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ErrorResponse> for ErrorResponse
impl PartialEq<ErrorResponse> for ErrorResponse
source§fn eq(&self, other: &ErrorResponse) -> bool
fn eq(&self, other: &ErrorResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.