pub struct MailchimpErrorType {
pub error_type: String,
pub title: String,
pub status: u64,
pub detail: String,
pub instance: String,
}
Expand description
============ Error Response ==============
Fields§
§error_type: String
Desc: An absolute URI that identifies the problem type. When dereferenced, it should provide human-readable documentation for the problem type.
title: String
Desc: A short, human-readable summary of the problem type. It shouldn’t change based on the occurrence of the problem, except for purposes of localization.
status: u64
Desc: The HTTP status code (RFC2616, Section 6) generated by the origin server for this occurrence of the problem.
detail: String
Desc: A human-readable explanation specific to this occurrence of the problem. Learn more about errors.
instance: String
Desc: A string that identifies this specific occurrence of the problem. Please provide this ID when contacting support.
Trait Implementations§
Source§impl Clone for MailchimpErrorType
impl Clone for MailchimpErrorType
Source§fn clone(&self) -> MailchimpErrorType
fn clone(&self) -> MailchimpErrorType
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 MailchimpErrorType
impl Debug for MailchimpErrorType
Source§impl Default for MailchimpErrorType
impl Default for MailchimpErrorType
Source§impl<'de> Deserialize<'de> for MailchimpErrorType
impl<'de> Deserialize<'de> for MailchimpErrorType
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 Display for MailchimpErrorType
impl Display for MailchimpErrorType
Source§impl Error for MailchimpErrorType
impl Error for MailchimpErrorType
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for MailchimpErrorType
impl RefUnwindSafe for MailchimpErrorType
impl Send for MailchimpErrorType
impl Sync for MailchimpErrorType
impl Unpin for MailchimpErrorType
impl UnwindSafe for MailchimpErrorType
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