Base.FieldSourceOCaml record field.
'record is the type of the record. 'field is the type of the values stored in the record field with name name. 'perm is a way of restricting the operations that can be used.
type (('record : any), ('field : any)) t =
([ `Read | `Set_and_create ], 'record, 'field) t_with_permA record field with no restrictions.
A record that can only be read, because it belongs to a private type.
val get :
'perm ('r : any) ('a : value_or_null). ('perm, 'r, 'a) t_with_perm ->
'r ->
'a @@ portableval fset :
('a : value_or_null) ('r : any). ([> `Set_and_create ], 'r, 'a) t_with_perm ->
'r ->
'a ->
'r @@ portableval setter :
('a : value_or_null) ('r : any). ([> `Set_and_create ], 'r, 'a) t_with_perm ->
('r -> 'a -> unit) option @@ portableval map :
('a : value_or_null) 'r. ([> `Set_and_create ], 'r, 'a) t_with_perm ->
'r ->
f:('a -> 'a) @ local ->
'r @@ portablemap and updater can't be polymorphic over 'r, as that requires passing/return any values.
val updater :
('a : value_or_null) 'r. ([> `Set_and_create ], 'r, 'a) t_with_perm ->
('r -> f:('a -> 'a) @ local -> unit) option @@ portabletype ('perm, ('record : any), 'result) user = {f : 'field. ('perm, 'record, 'field) t_with_perm -> 'result;}