#[repr(i16)]pub enum SubscriptionType {
    Individual = 0,
    School = 1,
}Expand description
The type of subscription
Variants§
Trait Implementations§
Source§impl Clone for SubscriptionType
 
impl Clone for SubscriptionType
Source§fn clone(&self) -> SubscriptionType
 
fn clone(&self) -> SubscriptionType
Returns a duplicate 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 SubscriptionType
 
impl Debug for SubscriptionType
Source§impl<'de> Deserialize<'de> for SubscriptionType
 
impl<'de> Deserialize<'de> for SubscriptionType
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 SubscriptionType
 
impl Display for SubscriptionType
Source§impl From<SubscriptionType> for AccountType
 
impl From<SubscriptionType> for AccountType
Source§fn from(value: SubscriptionType) -> Self
 
fn from(value: SubscriptionType) -> Self
Converts to this type from the input type.
Source§impl Serialize for SubscriptionType
 
impl Serialize for SubscriptionType
impl Copy for SubscriptionType
Auto Trait Implementations§
impl Freeze for SubscriptionType
impl RefUnwindSafe for SubscriptionType
impl Send for SubscriptionType
impl Sync for SubscriptionType
impl Unpin for SubscriptionType
impl UnwindSafe for SubscriptionType
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