pub enum UserGroup {
User,
Moderator,
SeniorModerator,
Administrator,
Developer,
Owner,
}Expand description
The group the user belongs to, for example User, Moderator…
For more informations, check out the website
Variants§
User
A normal user, the group you will be assigned to on account creation
Moderator
A moderator
SeniorModerator
A senior moderator
There is not a lot of information on how to get this role, I’m guessing you get this from being a moderator for enough time
Administrator
An administrator
There is not a lot of information on how to get this role
Developer
One of the website’s developers
Owner
The owner (and main developer) of the website
The only user with this role should be AksumkA
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UserGroup
impl<'de> Deserialize<'de> for UserGroup
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for UserGroup
Auto Trait Implementations§
impl Freeze for UserGroup
impl RefUnwindSafe for UserGroup
impl Send for UserGroup
impl Sync for UserGroup
impl Unpin for UserGroup
impl UnwindSafe for UserGroup
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more