# query.private.one_relation

- **Module:** query.private
- **Package:** libtmux
- **Language:** Rust
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/query/private.rs#L860
- **Page:** https://libtmux.org/reference/rs/query-private-one_relation/

```
query.private.one_relation(target: &'static str, field: &'static str) -> OneRelation<From, To>
```
