All the types that implement this protocol.
@type t() :: term()
@spec rate(map() | struct(), %{count: integer()}) :: %{count: integer()}