forked from mirrors/pronouns.cc
ccd546759b
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.
14 lines
232 B
Rust
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,
|
|
}
|