pub struct ErrorResponse {
pub code: Option<String>,
pub message: Option<String>,
pub details: Option<String>,
}
Expand description
Error details.
Fields
code: Option<String>
The error code.
message: Option<String>
The error message.
details: Option<String>
The error details.
Implementations
sourceimpl ErrorResponse
impl ErrorResponse
Trait Implementations
sourceimpl Clone for ErrorResponse
impl Clone for ErrorResponse
sourcefn clone(&self) -> ErrorResponse
fn clone(&self) -> ErrorResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Continuable for ErrorResponse
impl Continuable for ErrorResponse
type Continuation = String
fn continuation(&self) -> Option<Self::Continuation>
sourceimpl Debug for ErrorResponse
impl Debug for ErrorResponse
sourceimpl Default for ErrorResponse
impl Default for ErrorResponse
sourcefn default() -> ErrorResponse
fn default() -> ErrorResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ErrorResponse
impl<'de> Deserialize<'de> for ErrorResponse
sourcefn 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
sourceimpl PartialEq<ErrorResponse> for ErrorResponse
impl PartialEq<ErrorResponse> for ErrorResponse
sourcefn eq(&self, other: &ErrorResponse) -> bool
fn eq(&self, other: &ErrorResponse) -> bool
sourceimpl Serialize for ErrorResponse
impl Serialize for ErrorResponse
impl StructuralPartialEq for ErrorResponse
Auto Trait Implementations
impl RefUnwindSafe for ErrorResponse
impl Send for ErrorResponse
impl Sync for ErrorResponse
impl Unpin for ErrorResponse
impl UnwindSafe for ErrorResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more