package protocell

  1. Overview
  2. Docs
module Type' : sig ... end
module Label : sig ... end
type t = {
  1. name : string option;
  2. number : int option;
  3. label : Label.t;
  4. type' : Type'.t;
  5. type_name : string option;
  6. extendee : string option;
  7. default_value : string option;
  8. oneof_index : int option;
  9. json_name : string option;
  10. options : Field_options.t option;
}
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val to_binary : t -> (string, [> Bin'.serialization_error ]) Stdlib.result
val of_binary : string -> (t, [> Bin'.deserialization_error ]) Stdlib.result
val to_text : t -> (string, [> Text'.serialization_error ]) Stdlib.result
val of_text : string -> (t, [> Text'.deserialization_error ]) Stdlib.result