[][src]Enum libosu::UserPermission

pub enum UserPermission {
    None,
    Normal,
    Moderator,
    Supporter,
    Friend,
    Peppy,
    WorldCupStaff,
}

Integer enumeration of the user's permission

Variants

None
Normal
Moderator
Supporter
Friend
Peppy
WorldCupStaff

Trait Implementations

impl BitOr<UserPermission> for UserPermission[src]

type Output = u8

The resulting type after applying the | operator.

impl Clone for UserPermission[src]

impl Copy for UserPermission[src]

impl Debug for UserPermission[src]

impl Eq for UserPermission[src]

impl PartialEq<UserPermission> for UserPermission[src]

impl StructuralEq for UserPermission[src]

impl StructuralPartialEq for UserPermission[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.