View Source Memorex.DeckStats (Memorex v0.2.2)

A struct which contains various counts for a Memorex.Domain.Deck.

Link to this section Summary

Link to this section Types

@type t() :: %Memorex.DeckStats{
  due: non_neg_integer(),
  learn: non_neg_integer(),
  new: non_neg_integer(),
  review: non_neg_integer(),
  suspended: non_neg_integer(),
  total: non_neg_integer()
}

Link to this section Functions

@spec new(Memorex.Ecto.Schema.id(), DateTime.t()) :: t()