Expand description
This module defines the HTTP routes for notification operations. It includes handlers for listing, retrieving, creating, updating, and deleting notifications. The routes are integrated with the Actix-web framework and interact with the notification controller.
Structs§
- create_
notification - Creates a new notification.
- delete_
notification - Deletes a notification by ID.
- get_
notification - Retrieves details of a specific notification by ID.
- list_
notifications - Lists all notifications with pagination support.
- update_
notification - Updates an existing notification.
Functions§
- init
- Configures the notification routes.