pronounss/prns/src/models.rs
sam ccd546759b
feat: don't use shared models for prns
The shared models will eventually contain every field in the database,
but prns.cc only needs the fields they currently have, so to cut down on
memory usage it shouldn't use the shared models.
2023-07-28 21:01:36 +02:00

14 lines
232 B
Rust

#[derive(Debug)]
pub struct User {
pub id: String,
pub sid: String,
pub username: String,
}
#[derive(Debug)]
pub struct Member {
pub id: String,
pub user_id: String,
pub sid: String,
pub name: String,
}