# query.fields.ManyRelation

- **Module:** query.fields
- **Package:** libtmux
- **Language:** Rust
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/query/fields.rs#L116
- **Page:** https://libtmux.org/en/rs/latest/reference/query-fields-manyrelation/

A value-only handle for a to-many relation from `From` to `To`.

Relation expressions inspect only the already-loaded related values on a
candidate and never perform I/O.

## Example

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

struct Parent;
struct Child;
let relation: ManyRelation<Parent, Child> =
    __private::many_relation("parent", "children");
assert!(format!("{relation:?}").contains("children"));
```

## Members

- `any` (method): Match when any related candidate satisfies `expression`.
- `all` (method): Match when every related candidate satisfies `expression`.
- `none` (method): Match when no related candidate satisfies `expression`.
