wallhaven_rs/models/enums/
user_group.rs

1use serde::{Deserialize, Serialize};
2
3/// The group the user belongs to, for example `User`, `Moderator`...
4///
5/// For more informations, check out [the website](https://wallhaven.cc/team)
6#[derive(Serialize, Deserialize, Clone, Copy, Debug)]
7pub enum UserGroup {
8    /// A normal user, the group you will be assigned to on account creation
9    User,
10    /// A moderator
11    Moderator,
12    /// A senior moderator
13    ///
14    /// There is not a lot of information on how to get this role,
15    /// I'm guessing you get this from being a moderator for enough time
16    #[serde(rename = "Senior Moderator")]
17    SeniorModerator,
18    /// An administrator
19    ///
20    /// There is not a lot of information on how to get this role
21    Administrator,
22    /// One of the website's developers
23    Developer,
24    /// The owner (and main developer) of the website
25    ///
26    /// The only user with this role should be [AksumkA](https://wallhaven.cc/user/AksumkA)
27    #[serde(rename = "Owner/Developer")]
28    Owner,
29}