pub struct ApiErrorMessage {
pub code: u32,
pub message: String,
pub missing: Option<ApiErrorDetail>,
pub duplicated: Option<ApiErrorDetail>,
}Expand description
CDF error message.
Fields§
§code: u32HTTP error code.
message: StringDescription of the error.
missing: Option<ApiErrorDetail>List of missing items.
duplicated: Option<ApiErrorDetail>List of duplicated items.
Trait Implementations§
Source§impl Debug for ApiErrorMessage
impl Debug for ApiErrorMessage
Source§impl<'de> Deserialize<'de> for ApiErrorMessage
impl<'de> Deserialize<'de> for ApiErrorMessage
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
Auto Trait Implementations§
impl Freeze for ApiErrorMessage
impl RefUnwindSafe for ApiErrorMessage
impl Send for ApiErrorMessage
impl Sync for ApiErrorMessage
impl Unpin for ApiErrorMessage
impl UnwindSafe for ApiErrorMessage
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