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