Expand description
§Me Routes Module
Defines and wires up routes for user-specific endpoints, such as announcements, tickets, and assignments.
§Structure
announcements.rs
— GET handlers for fetching the user’s announcementsassignments.rs
— GET handlers for fetching the user’s assignmentstickets.rs
— GET handlers for fetching the user’s ticketsgrades.rs
— GET handlers for fetching the user’s gradessubmissions.rs
— GET handlers for fetching the user’s submissionsevents.rs
— GET handlers for fetching the user’s events
§Usage
Call me_routes()
to get a configured Router
for /me
endpoints to be mounted in the main app.
Modules§
- announcements
- My Announcements Handlers
- assignments
- My Assignments Handlers
- events
- grades
- submissions
- tickets
- My Tickets Handlers
Functions§
- me_
routes - Builds and returns the
/me
route group.