# Libtmux.Model

- **Package:** libtmux
- **Language:** OCaml
- **Kind:** module
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/lib/libtmux.mli#L558
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-model/

```ocaml
module Model
```

Built-in model witnesses and canonical field lookup for typed codecs. Untrusted field names must resolve against the selected model.

## Members

### Common operations

- [`pane`](/en/ocaml/latest/reference/libtmux-model-pane/) (constant)

### Other members

- [`client`](/en/ocaml/latest/reference/libtmux-model-client/) (constant)
- [`fields`](/en/ocaml/latest/reference/libtmux-model-fields/) (function)
- [`find_field`](/en/ocaml/latest/reference/libtmux-model-find_field/) (function)
- [`name`](/en/ocaml/latest/reference/libtmux-model-name/) (function)
- [`session`](/en/ocaml/latest/reference/libtmux-model-session/) (constant)
- [`t`](/en/ocaml/latest/reference/libtmux-model-t/) (typealias)
- [`window`](/en/ocaml/latest/reference/libtmux-model-window/) (constant)
- [`window_link`](/en/ocaml/latest/reference/libtmux-model-window_link/) (constant)
