pub fn is_invalid_image_format_exception(&self) -> bool {
        matches!(
            &self.kind,
            DetectCustomLabelsErrorKind::InvalidImageFormatException(_)
        )
    }
/// Returns `true` if the error kind is `DetectCustomLabelsErrorKind::InvalidImageFormatException`.
Returns `true` if the error kind is `DetectCustomLabelsErrorKind::InvalidImageFormatException`.
Returns ` true ` if the error kind is ` DetectCustomLabelsErrorKind :: InvalidImageFormatException ` .
pub fn is_invalid_image_format_exception(&self) -> bool {
        matches!(
            &self.kind,
            DetectCustomLabelsErrorKind::InvalidImageFormatException(_)
        )
    }
pub fn is_invalid_image_format_exception ( & self ) -> bool { matches ! ( self kind DetectCustomLabelsErrorKind InvalidImageFormatException ( ) ) }
Returns `true` if the error kind is `DetectCustomLabelsErrorKind::InvalidImageFormatException`.
Returns ` true ` if the error kind is ` DetectCustomLabelsErrorKind :: InvalidImageFormatException ` .
&self
&self