pbuf v0.0.1 Pbuf.Protoc.OneOf

This is the ‘parent’ of OneOfs. It acts as both configuration via the context and as a pseudo Field when rendering the template.

Link to this section Summary

Link to this section Types

Link to this type t()
t() :: %Pbuf.Protoc.OneOf{
  default: String.t(),
  name: String.t(),
  typespec: String.t()
}

Link to this section Functions

Link to this function add(oneof, field)
add(t(), Pbuf.Protoc.Field.t()) :: t()
Link to this function new(name)
new(String.t()) :: t()