# EdgeById

`import { EdgeById } from "destack:topology";`

Selector that matches one edge by id.

```ds title="EdgeById"
export struct EdgeById {
    kind: "id";
    id: EdgeId;
}
```

[language/library/src/topology/edge.ds:51:56](https://github.com/destack-sh/destack/blob/main/language/library/src/topology/edge.ds#L51-L56)

## Members

### `kind: "id"`

Selector discriminator.

### `id: EdgeId`

Edge id to match.
