Thrift v1.3.0
Thrift.Parser.Models.Union
A Thrift union
Unions can have one field set at a time.
Types
t :: %Thrift.Parser.Models.Union{fields: %{optional(String.t) => %Thrift.Parser.Models.Field{default: term, id: term, name: term, required: term, type: term}}, name: String.t}
Functions
Specs
new(charlist, [%Thrift.Parser.Models.Field{default: term, id: term, name: term, required: term, type: term}, ...]) :: %Thrift.Parser.Models.Union{fields: term, name: term}