# ResourceId

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

Runtime-owned resource identifier.

```ds title="ResourceId"
export struct ResourceId {
    workerId: uint64;
    localId: uint64;
}
```

[language/library/src/runtime/resource.ds:7:12](https://github.com/destack-sh/destack/blob/main/language/library/src/runtime/resource.ds#L7-L12)

## Members

### `workerId: uint64`

Owning worker identifier.

### `localId: uint64`

Worker-local resource identifier.
