package ocaml-protoc-plugin

  1. Overview
  2. Docs
module EnumReservedRange : sig ... end
val name' : unit -> string
type t = {
  1. name : string option;
  2. value : EnumValueDescriptorProto.t list;
  3. options : EnumOptions.t option;
  4. reserved_range : EnumReservedRange.t list;
  5. reserved_name : string list;
}
val make : ?name:string -> ?value:EnumValueDescriptorProto.t list -> ?options:EnumOptions.t -> ?reserved_range:EnumReservedRange.t list -> ?reserved_name:string list -> 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
OCaml

Innovation. Community. Security.