package ocaml-protoc-plugin

  1. Overview
  2. Docs
val name' : unit -> string
type t = [
  1. | `not_set
  2. | `Null_value of NullValue.t
  3. | `Number_value of float
  4. | `String_value of string
  5. | `Bool_value of bool
  6. | `Struct_value of Struct.t
  7. | `List_value of ListValue.t
]
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 -> t
val to_proto : t -> Ocaml_protoc_plugin.Runtime.Runtime'.Writer.t
val from_proto : Ocaml_protoc_plugin.Runtime.Runtime'.Reader.t -> (t, [> Ocaml_protoc_plugin.Runtime.Runtime'.Result.error ]) result