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