aboutsummaryrefslogtreecommitdiff
path: root/common/src/user.rs
blob: fcb8eeaad5eb80792e440fb74cc6ff2a4a318166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
    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 = b"Ulgn";
    USER_PASSWORD: &[u8] = b"Upwd";
    USER_NAME: &str = b"Unam";
    USER_ADMIN: () = b"Uadm";

    UDATA_WATCHED: () = b"Dwat";
    UDATA_RATING: f64 = b"Drat";
}