View Source Teiserver.Game.MatchType (Teiserver v0.0.4)

MatchType

Details for each type of match

Attributes

  • :name - The name of the type

Summary

Functions

Builds a changeset based on the struct and params.

Types

@type id() :: non_neg_integer()
@type t() :: %Teiserver.Game.MatchType{__meta__: term(), id: id(), name: String.t()}

Functions

Link to this function

changeset(struct, params \\ %{})

View Source
@spec changeset(map(), map()) :: Ecto.Changeset.t()

Builds a changeset based on the struct and params.