Module me

Source
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 announcements
  • assignments.rs — GET handlers for fetching the user’s assignments
  • tickets.rs — GET handlers for fetching the user’s tickets
  • grades.rs — GET handlers for fetching the user’s grades
  • submissions.rs — GET handlers for fetching the user’s submissions
  • events.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.