hypercall_db/types/usernames.rs
1//! Username domain types.
2//!
3//! Wallet-to-username mapping with case-insensitive uniqueness.
4
5use chrono::{DateTime, Utc};
6use serde::{Deserialize, Serialize};
7
8/// A persisted username row.
9#[derive(Debug, Clone, Serialize, Deserialize)]
10pub struct UsernameRecord {
11 pub wallet_address: String,
12 pub username: String,
13 pub created_at: DateTime<Utc>,
14 pub updated_at: DateTime<Utc>,
15}