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