You've already forked AstralRinth
* Put all ID types in the labrinth::models::ids, and reduce code duplication with them * Rewrite labrinth::database::models::ids and rename most DB interface ID structs to be prefixed with DB * Run sqlx prepare --------- Co-authored-by: Alejandro González <7822554+AlexTMjugador@users.noreply.github.com>
11 lines
264 B
Rust
11 lines
264 B
Rust
use super::ids::UserId;
|
|
use chrono::{DateTime, Utc};
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
#[derive(Debug, Serialize, Deserialize, Clone)]
|
|
pub struct UserStatus {
|
|
pub user_id: UserId,
|
|
pub profile_name: Option<String>,
|
|
pub last_update: DateTime<Utc>,
|
|
}
|