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