# query.fields.TextField.not_in

- **Module:** query.fields.TextField
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/query/fields.rs#L510
- **Page:** https://libtmux.org/en/rs/latest/reference/query-fields-textfield-not_in/

```
query.fields.TextField.not_in(self, values: I) -> FilterExpr<T>
```

Test exact exclusion from ordered string values.

Rust authoring accepts any `IntoIterator`; the version 1 wire value is
an array, never a scalar string. An empty input matches every valid
UTF-8 candidate, but invalid candidate bytes remain a nonmatch.

## Example

```rust
use libtmux::query::TextField;
use libtmux::query::__private;

struct Row;
let field: TextField<Row> = __private::text_field("row", "name");
let _ = field.not_in(["done"]);
```
