Protox.OneOf (Protox v2.0.4)
View SourceRepresents a oneof field in protobuf.
A oneof field represents a group of fields where only one of them can be set at a time. This module provides a struct to store the parent field of this oneof group, that is, the field that effectively contains the set value.
Fields
:parent
- The name the parent field of this oneof group.
Summary
Types
@type t() :: %Protox.OneOf{parent: atom()}