View Source argo_field_wire_type (argo v1.0.6)

Summary

Types

-type omittable() :: boolean().
-type t() ::
    #argo_field_wire_type{name :: argo_types:name(),
                          'of' :: argo_wire_type:t(),
                          omittable :: boolean()}.

Functions

Link to this function

is_labeled(FieldWireType)

View Source
-spec is_labeled(FieldWireType) -> boolean() when FieldWireType :: t().
Link to this function

is_omittable(FieldWireType)

View Source
-spec is_omittable(FieldWireType) -> boolean() when FieldWireType :: t().
Link to this function

new(Name, Of, Omittable)

View Source
-spec new(Name, Of, Omittable) -> FieldWireType
       when
           Name :: argo_types:name(),
           Of :: argo_wire_type:t(),
           Omittable :: omittable(),
           FieldWireType :: t().