# LabelSelector

`import { LabelSelector } from "destack:runtime";`

Label selector clause.

```ds title="LabelSelector"
export struct LabelSelector {
    key: string;
    value: string;
}
```

[language/library/src/runtime/entity.ds:23:28](https://github.com/destack-sh/destack/blob/main/language/library/src/runtime/entity.ds#L23-L28)

## Members

### `key: string`

Label key to match.

### `value: string`

Optional exact value match.
