# UsbWatchEventAttached

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

USB attached watch event.

```ds title="UsbWatchEventAttached"
export struct UsbWatchEventAttached {
    kind: "attached";
    timestampNs: uint64;
    sequence: uint64;
    device: UsbDevice;
}
```

[language/library/src/device/binding/usb.ds:204:213](https://github.com/destack-sh/destack/blob/main/language/library/src/device/binding/usb.ds#L204-L213)

## Members

### `kind: "attached"`

Event discriminator.

### `timestampNs: uint64`

Event timestamp in nanoseconds.

### `sequence: uint64`

Event sequence number.

### `device: UsbDevice`

USB device.
