lila-chat/src/user.rs

11 lines
240 B
Rust

use serde::{Deserialize, Serialize};
// Struct to store basic user data
#[derive(Clone, Serialize, Deserialize)]
pub struct User {
pub name: String,
pub pin_hashed: String,
pub pronouns: String,
pub sessionToken: String,
}