Skip to main content

Crate uxar_macros

Crate uxar_macros 

Source

Macros§

bundle
Collects bundle parts (routes, tasks, signals) into a Bundle for composition and registration.

Attribute Macros§

asset_dir
cron
Schedules a function to run periodically based on a cron expression.
flow
Registers a function as a flow task handler.
openapi
periodic
Schedules a function to run periodically at fixed intervals.
pgnotify
Registers a function as a PostgreSQL NOTIFY/LISTEN handler.
route
Defines a route handler with metadata for routing and OpenAPI documentation.
service
signal
Registers a function as a generic signal handler.
task
Registers a function as a unit task handler.

Derive Macros§

Bindable
BitRole
Derives the BitRole trait for role-based access control.
Filterable
Scannable
Validate
Derives the Validate trait for data validation.