backend/keycloak_api/dtos.rs
//! Dto types for keycloak admin API.
use serde::{Deserialize, Serialize};
use typeshare::typeshare;
use utoipa::ToSchema;
use uuid::Uuid;
/// Dto for a user.
#[derive(Debug, Clone, Serialize, Deserialize, ToSchema)]
#[typeshare]
pub struct UserDto {
/// The user's ID.
pub id: Uuid,
/// The user's username.
pub username: String,
}