aboutsummaryrefslogtreecommitdiff
path: root/common/src/user.rs
blob: f4aaa0b4c9a2e53b4c0c0cde9b8d04d8996428da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
    This file is part of jellything (https://codeberg.org/metamuffin/jellything)
    which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
    Copyright (C) 2026 metamuffin <metamuffin.org>
*/

use jellyobject::fields;

fields! {
    USER_LOGIN: &str = 0x1001 "login";
    USER_PASSWORD: &str = 0x1002 "password";
    USER_NAME: &str = 0x1003 "name";
    USER_ADMIN: () = 0x1004 "admin";
}