Breakfast v0.1.1 Breakfast.Yogurt View Source

The %Elixir.Breakfast.Yogurt{} struct is the resulting value of a call to Breakfast.decode/2.

It contains all the information regarding a particular decode, including:

  • the params passed in
  • errors that occured for a given field
  • the resulting, decoded struct

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Breakfast.Yogurt{
  errors: [String.t()],
  params: term() | nil,
  struct: struct() | nil
}

Link to this section Functions

Link to this function

valid?(yogurt)

View Source
valid?(t()) :: boolean()