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