package sihl-type

  1. Overview
  2. Docs
val iter : t -> id: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'a) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'b) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'c) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'd) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> t -> Ptime.t -> 'e) -> 'f
val fold : t -> init:'a -> id: ('b -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'c) -> name: ('d -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'e) -> content_text: ('f -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'g) -> content_html: ('h -> ([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'i) -> created_at: ('j -> ([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> t -> Ptime.t -> 'k) -> 'l
val for_all : t -> id: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> bool) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> bool) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> bool) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> bool) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> t -> Ptime.t -> bool) -> bool
val exists : t -> id: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> bool) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> bool) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> bool) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> bool) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> t -> Ptime.t -> bool) -> bool
val to_list : t -> id: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'a) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'b) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'c) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> 'd) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> t -> Ptime.t -> 'e) -> 'f list
val map : t -> id: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> string) -> name: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> string) -> content_text: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> string) -> content_html: (([< `Read | `Set_and_create ], t, string) Fieldslib.Field.t_with_perm -> t -> string -> string) -> created_at: (([< `Read | `Set_and_create ], t, Ptime.t) Fieldslib.Field.t_with_perm -> t -> Ptime.t -> Ptime.t) -> t
val set_all_mutable_fields : 'a -> unit