EctoMorph.cast_to_struct-exclamation-mark

You're seeing just the function cast_to_struct-exclamation-mark, go back to EctoMorph module for more information.
Link to this function

cast_to_struct!(data, schema)

View Source

Specs

cast_to_struct!(map() | ecto_struct(), schema_module()) ::
  okay_struct() | error_changeset()

Same as cast_to_struct/2, but raises if the data fails casting.

Link to this function

cast_to_struct!(data, schema, fields)

View Source

Specs

cast_to_struct!(map() | ecto_struct(), schema_module(), list()) ::
  okay_struct() | error_changeset()

Same as cast_to_struct/3, but raises if the data fails casting.