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