Module Serde_postgres.Deserializer

type state = {
  1. reader : Postgres.Parser.t;
  2. mutable in_sequence : bool;
  3. mutable column_names : string list;
  4. mutable current_column_idx : int;
  5. mutable in_list : bool;
  6. mutable in_list_length : int;
  7. mutable in_list_index : int;
  8. mutable is_escaped_string : bool;
}
val nest : state -> state
val deserialize_int8 : 'a -> state -> (char, 'b) Stdlib.result
val deserialize_int16 : 'a -> state -> (int, 'b) Stdlib.result
val deserialize_int31 : 'a -> state -> (int, 'b) Stdlib.result
val deserialize_int32 : 'a -> state -> (int32, 'b) Stdlib.result
val deserialize_int64 : 'a -> state -> (int64, 'b) Stdlib.result
val deserialize_float : 'a -> state -> (float, 'b) Stdlib.result
val deserialize_bool : 'a -> state -> (bool, [> `Msg of string ]) Stdlib.result
val deserialize_string : 'a -> state -> (string, 'b) Stdlib.result
val deserialize_option : 'a -> state -> ('b -> ('c, 'd) Stdlib.result) -> ('e option, 'f) Stdlib.result
val deserialize_identifier : Serde.De.ctx -> 'a -> ('b, 'c) Serde.Visitor.t -> ('d, Serde.error) Stdlib.result
val deserialize_sequence : 'a -> state -> size:'b -> (size:'c -> 'd -> ('e, [> `Msg of string ] as 'f) Stdlib.result) -> ('g, 'h) Stdlib.result
val deserialize_element : 'a -> state -> ('b -> ('c, 'd) Stdlib.result) -> ('e option, 'f) Stdlib.result
val deserialize_unit_variant : 'a -> 'b -> ('c, [> `Msg of string ]) Stdlib.result
val deserialize_newtype_variant : 'a -> 'b -> 'c -> ('d, [> `Msg of string ]) Stdlib.result
val deserialize_tuple_variant : 'a -> 'b -> size:'c -> 'd -> ('e, [> `Msg of string ]) Stdlib.result
val deserialize_record_variant : 'a -> 'b -> size:'c -> 'd -> ('e, [> `Msg of string ]) Stdlib.result
val deserialize_variant : 'a -> 'b -> 'c -> name:'d -> variants:'e -> ('f, [> `Msg of string ]) Stdlib.result
val deserialize_record : 'a -> state -> name:'b -> size:'c -> ('d -> ('e, 'f) Stdlib.result) -> ('g, 'h) Stdlib.result
val deserialize_key : Serde.De_base.ctx -> state -> ('a, 'b) Serde.Visitor.t -> ('c option, Serde.error) Stdlib.result
val deserialize_field : 'a -> 'b -> name:'c -> ('d -> 'e) -> 'f
val deserialize_ignored_any : 'a -> state -> (unit, 'b) Stdlib.result