# LibTmux.WhereLimits

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Julia
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/wire.jl#L11
- **Page:** https://libtmux.org/en/julia/latest/reference/libtmux-wherelimits/

```
LibTmux.WhereLimits(; max_depth, max_nodes, max_string_bytes, max_items, max_bytes)
```

Bound the complete inert document before constructing predicates. Nodes count objects, arrays, keys and scalars; bytes count UTF-8 strings and keys together. Limits also apply when encoding local criteria. They do not limit later graph traversal, which depends on the supplied snapshot.

```julia
WhereLimits(; max_depth=32, max_nodes=4096, max_string_bytes=65536,
            max_items=1024, max_bytes=1048576)
```

## Methods

[Source](https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/wire.jl#L26).

## Parameters

- `max_depth` (`Int`)
  Default: `32`.
- `max_nodes` (`Int`)
  Default: `4096`.
- `max_string_bytes` (`Int`)
  Default: `65536`.
- `max_items` (`Int`)
  Default: `1024`.
- `max_bytes` (`Int`)
  Default: `1048576`.

## Members

### Other members

- `max_bytes` (property)
- `max_depth` (property)
- `max_items` (property)
- `max_nodes` (property)
- `max_string_bytes` (property)
