Attributes
Built-in attributes: what they apply to and where they are described. Summary: II.3.
| Applies to | Section |
|---|
@allow | rpc | §13.4 |
@arena | | |
@audit | table, field, rpc | §13 |
@auto | data, field | §12.8 |
@c_layout | | |
@cache | rpc | §10.2 |
@codec | type, field | §9.3–9.5 |
@cold | any declaration | II.3 |
@deprecated | any declaration | II.3 |
@derive | data, enum, distinct | §4.6 |
@encrypted | table, field, rpc | §13 |
@error | data, enum | §6.5 |
@explicit | interface | §4.6 |
@flaky | test, declaration | §18 |
@grpc_status | error type | §10.1 |
@idempotent | rpc | §10.2 |
@idle | actor, actor field | §12.5 |
@index | data, field | §12.8 |
@inline | any declaration | II.3 |
@internal | | |
@isolation | function with atomic(db) | §11.2 |
@near | function, actor, extern function | §8.1, §12.6 |
@nonblocking | function, actor, extern function | §8.1, §12.6 |
@open | enum | §4.4 |
@owner | table, field, rpc | §13 |
@parallel | pipeline | §10.6 |
@pinned | function, actor, extern function | §8.1, §12.6 |
@pk | data, field | §12.8 |
@preserve_unknown | type, field | §9.3–9.5 |
@public | rpc | §13.4 |
@ratelimit | rpc | §10.2 |
@readonly | rpc | §10.2 |
@reflect | type | §15.2 |
@removed | type, field | §9.2 |
@renamed | type, field | §9.2 |
@repr | type, field | §9.3–9.5 |
@resumable | rpc | §10.2 |
@retain | topic | §10.5 |
@retry | rpc | §10.2 |
@sealed | data | §4.3 |
@shard | data, field | §12.8 |
@since | type, field | §9.2 |
@skip | test, declaration | §18 |
@table | data, field | §12.8 |
@tag | type, field | §9.2 |
@test_only | test, declaration | §18 |
@timeout | rpc | §10.2 |
@trace | rpc | §10.2 |
@transient | actor, actor field | §12.5 |
@v | type, field | §9.2 |
@visible | table, field, rpc | §13 |
@window | rpc | §10.2 |
@zigzag | type, field | §9.3–9.5 |