package ocaml-protoc-plugin
Module Protobuf.Value
Source
type t = [ | `not_set| `Null_value of NullValue.t| `Number_value of float| `String_value of string| `Bool_value of bool| `Struct_value of Struct.t| `List_value of ListValue.t
]Source
val make :
?kind:
[ `not_set
| `Null_value of NullValue.t
| `Number_value of float
| `String_value of string
| `Bool_value of bool
| `Struct_value of Struct.t
| `List_value of ListValue.t ] ->
unit ->
tSource
val from_proto :
Ocaml_protoc_plugin.Reader.t ->
(t, [> Ocaml_protoc_plugin.Result.error ]) result