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