pub struct ImageValidationErrorDetails {
pub code: Option<String>,
pub message: Option<String>,
}Expand description
Image validation error details
Fields§
§code: Option<String>An identifier for the error.
message: Option<String>A message describing the error.
Implementations§
Trait Implementations§
Source§impl Clone for ImageValidationErrorDetails
impl Clone for ImageValidationErrorDetails
Source§fn clone(&self) -> ImageValidationErrorDetails
fn clone(&self) -> ImageValidationErrorDetails
Returns a duplicate 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 ImageValidationErrorDetails
impl Debug for ImageValidationErrorDetails
Source§impl Default for ImageValidationErrorDetails
impl Default for ImageValidationErrorDetails
Source§fn default() -> ImageValidationErrorDetails
fn default() -> ImageValidationErrorDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageValidationErrorDetails
impl<'de> Deserialize<'de> for ImageValidationErrorDetails
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
impl StructuralPartialEq for ImageValidationErrorDetails
Auto Trait Implementations§
impl Freeze for ImageValidationErrorDetails
impl RefUnwindSafe for ImageValidationErrorDetails
impl Send for ImageValidationErrorDetails
impl Sync for ImageValidationErrorDetails
impl Unpin for ImageValidationErrorDetails
impl UnwindSafe for ImageValidationErrorDetails
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