[][src]Enum strife::model::guild::PremiumTier

#[non_exhaustive]
pub enum PremiumTier {
    None,
    Tier1,
    Tier2,
    Tier3,
}

The tier of premium for a guild, provided by Nitro boosts.

Variants (Non-exhaustive)

Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None

Not premium.

Tier1

Tier 1.

Tier2

Tier 2.

Tier3

Tier 3.

Trait Implementations

impl Clone for PremiumTier[src]

impl Copy for PremiumTier[src]

impl Debug for PremiumTier[src]

impl Default for PremiumTier[src]

impl<'de> Deserialize<'de> for PremiumTier[src]

impl Eq for PremiumTier[src]

impl<'_> From<&'_ PremiumTier> for u8[src]

impl From<PremiumTier> for u8[src]

impl Hash for PremiumTier[src]

impl IntEnum for PremiumTier[src]

type Int = u8

Primitive integer type for conversions.

impl Ord for PremiumTier[src]

impl PartialEq<PremiumTier> for PremiumTier[src]

impl PartialOrd<PremiumTier> for PremiumTier[src]

impl Serialize for PremiumTier[src]

impl StructuralEq for PremiumTier[src]

impl StructuralPartialEq for PremiumTier[src]

impl TryFrom<u8> for PremiumTier[src]

type Error = IntEnumError<Self>

The type returned in the event of a conversion error.

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?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.