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