[−][src]Enum strife::model::guild::PremiumTier
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.
Not premium.
Tier 1.
Tier 2.
Tier 3.
Trait Implementations
impl Clone for PremiumTier
[src]
fn clone(&self) -> PremiumTier
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PremiumTier
[src]
impl Debug for PremiumTier
[src]
impl Default for PremiumTier
[src]
impl<'de> Deserialize<'de> for PremiumTier
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Eq for PremiumTier
[src]
impl<'_> From<&'_ PremiumTier> for u8
[src]
fn from(n: &PremiumTier) -> Self
[src]
impl From<PremiumTier> for u8
[src]
fn from(n: PremiumTier) -> Self
[src]
impl Hash for PremiumTier
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl IntEnum for PremiumTier
[src]
type Int = u8
Primitive integer type for conversions.
fn to_int(&self) -> Self::Int
[src]
fn from_int(n: Self::Int) -> Result<Self, IntEnumError<Self>>
[src]
impl Ord for PremiumTier
[src]
fn cmp(&self, other: &PremiumTier) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<PremiumTier> for PremiumTier
[src]
fn eq(&self, other: &PremiumTier) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<PremiumTier> for PremiumTier
[src]
fn partial_cmp(&self, other: &PremiumTier) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for PremiumTier
[src]
impl StructuralEq for PremiumTier
[src]
impl StructuralPartialEq for PremiumTier
[src]
impl TryFrom<u8> for PremiumTier
[src]
Auto Trait Implementations
impl RefUnwindSafe for PremiumTier
impl Send for PremiumTier
impl Sync for PremiumTier
impl Unpin for PremiumTier
impl UnwindSafe for PremiumTier
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,