# `Imp.Training.FastSlow.Budget`
[🔗](https://github.com/deepfates/imp/blob/v0.18.1/lib/imp/training/fast_slow/state.ex#L398)

Named immutable limits and accumulated usage for a training run.

# `t`

```elixir
@type t() :: %Imp.Training.FastSlow.Budget{
  limits: %{required(String.t()) =&gt; non_neg_integer()},
  used: %{required(String.t()) =&gt; non_neg_integer()}
}
```

# `charge`

```elixir
@spec charge(t(), String.t() | atom(), non_neg_integer()) ::
  {:ok, t()} | {:error, :exhausted}
```

# `new!`

```elixir
@spec new!(map()) :: t()
```

# `validate!`

```elixir
@spec validate!(t()) :: t()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
