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.
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.
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.