package ocaml-protoc-plugin

  1. Overview
  2. Docs
val name' : unit -> string
type t = {
  1. name : string option;
  2. options : OneofOptions.t option;
}
val make : ?name:string -> ?options:OneofOptions.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