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