defmodule Statsig.Experiment do @moduledoc """ Get experiment and it's corresponding serialized values """ defstruct [ :name, :rule_id, :id_type, :group_name, :value, :details ] @type t :: %__MODULE__{ name: String.t(), rule_id: String.t(), id_type: String.t(), group_name: String.t() | nil, value: %{optional(String.t()) => any()}, details: Statsig.EvaluationDetails.t() } end