Hunter.Poll.Option (hunter v0.7.0)

Copy Markdown View Source

Poll option entity

A possible answer of a Hunter.Poll

Fields

  • title - the text value of the poll option
  • votes_count - the number of received votes for this option, nil until the poll results are published

Summary

Types

t()

@type t() :: %Hunter.Poll.Option{
  title: String.t(),
  votes_count: non_neg_integer() | nil
}