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