# SerialWatchEventAttached

`import { SerialWatchEventAttached } from "destack:device/binding";`

Serial attached watch event.

```ds title="SerialWatchEventAttached"
export struct SerialWatchEventAttached {
    kind: "attached";
    timestampNs: uint64;
    sequence: uint64;
    port: SerialPort;
}
```

[language/library/src/device/binding/serial.ds:144:153](https://github.com/destack-sh/destack/blob/main/language/library/src/device/binding/serial.ds#L144-L153)

## Members

### `kind: "attached"`

Event discriminator.

### `timestampNs: uint64`

Event timestamp in nanoseconds.

### `sequence: uint64`

Event sequence number.

### `port: SerialPort`

Serial port.
