View Source argo_record_value (argo v1.0.3)
Summary
Types
-type t() :: #argo_record_value{}.
Functions
-spec find(RecordValue, Name) -> {ok, FieldValue} | error when RecordValue :: t(), Name :: argo_types:name(), FieldValue :: argo_field_value:t().
-spec find_index(RecordValue, Index) -> {ok, FieldValue} | error when RecordValue :: t(), Index :: argo_index_map:index(), FieldValue :: argo_field_value:t().
-spec find_index_of(RecordValue, Name) -> {ok, Index, FieldValue} | error when RecordValue :: t(), Name :: argo_types:name(), Index :: argo_index_map:index(), FieldValue :: argo_field_value:t().
-spec insert(RecordValue, FieldValue) -> RecordValue when RecordValue :: t(), FieldValue :: argo_field_value:t().
-spec new() -> RecordValue when RecordValue :: t().
-spec present_fields_count(RecordValue) -> non_neg_integer() when RecordValue :: t().
-spec to_record_wire_type(RecordValue) -> RecordWireType when RecordValue :: t(), RecordWireType :: argo_record_wire_type:t().