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