EctoMorph.into_struct
You're seeing just the function
into_struct
, go back to EctoMorph module for more information.
Specs
into_struct(Ecto.Changeset.t()) :: okay_struct() | error_changeset()
Take a changeset and returns a struct if there are no errors on the changeset. Returns an error tuple with the invalid changeset otherwise.