darkwing::server::dtos

Module user_dto

source
Expand description

Data Transfer Objects (DTOs) for user-related operations.

This module contains the DTOs used for serializing and deserializing user data in API requests and responses. It includes:

  • User role definitions and conversions
  • Response DTOs for user information
  • Authentication response structures

The DTOs in this module help maintain a clear separation between the database models and the API layer, ensuring consistent data representation across the application.

Structs§

Enums§

  • Represents the role of a user in the system.