mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-07-13 02:52:49 +00:00
Get user page status
This commit is contained in:
src
@ -4,6 +4,13 @@
|
||||
|
||||
pub type UserID = i64;
|
||||
|
||||
#[derive(Debug, PartialEq)]
|
||||
pub enum UserPageStatus {
|
||||
OPEN,
|
||||
PUBLIC,
|
||||
PRIVATE
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct User {
|
||||
pub id: UserID,
|
||||
@ -11,4 +18,5 @@ pub struct User {
|
||||
pub password: String,
|
||||
pub first_name: String,
|
||||
pub last_name: String,
|
||||
pub status: UserPageStatus
|
||||
}
|
Reference in New Issue
Block a user