Tyyppi.Struct.put
You're seeing just the function
put
, go back to Tyyppi.Struct module for more information.
Specs
put(target :: struct, key :: atom(), value :: any()) :: {:ok, struct} | {:error, keyword()} when struct: %{required(atom()) => any()}
Puts the value to target under specified key, if passes validation