pub enum AccountTier {
Basic,
ProTrial,
PendingPaymentPro,
CancelledPro,
Pro,
Growth,
Employee,
Admin,
}Variants§
Basic
ProTrial
Partial access to Pro features and higher limits than Basic
PendingPaymentPro
A Basic user that is pending a payment to go back to Pro
CancelledPro
Pro user with an expiring subscription
Pro
Growth
Employee
Growth tier but even higher limits
Admin
No limits, full API access, admin endpoint access
Implementations§
Source§impl AccountTier
impl AccountTier
pub fn to_string_fancy(&self) -> String
Trait Implementations§
Source§impl Clone for AccountTier
impl Clone for AccountTier
Source§fn clone(&self) -> AccountTier
fn clone(&self) -> AccountTier
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AccountTier
impl Debug for AccountTier
Source§impl Default for AccountTier
impl Default for AccountTier
Source§fn default() -> AccountTier
fn default() -> AccountTier
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountTier
impl<'de> Deserialize<'de> for AccountTier
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
Source§impl Display for AccountTier
impl Display for AccountTier
Source§impl<'_derivative_strum> From<&'_derivative_strum AccountTier> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum AccountTier> for &'static str
Source§fn from(x: &'_derivative_strum AccountTier) -> &'static str
fn from(x: &'_derivative_strum AccountTier) -> &'static str
Converts to this type from the input type.
Source§impl From<AccountTier> for &'static str
impl From<AccountTier> for &'static str
Source§fn from(x: AccountTier) -> &'static str
fn from(x: AccountTier) -> &'static str
Converts to this type from the input type.
Source§impl FromStr for AccountTier
impl FromStr for AccountTier
Source§impl Ord for AccountTier
impl Ord for AccountTier
Source§fn cmp(&self, other: &AccountTier) -> Ordering
fn cmp(&self, other: &AccountTier) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AccountTier
impl PartialEq for AccountTier
Source§impl PartialOrd for AccountTier
impl PartialOrd for AccountTier
Source§impl Serialize for AccountTier
impl Serialize for AccountTier
Source§impl TryFrom<&str> for AccountTier
impl TryFrom<&str> for AccountTier
impl Eq for AccountTier
impl StructuralPartialEq for AccountTier
Auto Trait Implementations§
impl Freeze for AccountTier
impl RefUnwindSafe for AccountTier
impl Send for AccountTier
impl Sync for AccountTier
impl Unpin for AccountTier
impl UnwindSafe for AccountTier
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