pub enum PremiumSource {
LimitExceeded(PremiumSourceLimitExceeded),
Feature(PremiumSourceFeature),
BusinessFeature(PremiumSourceBusinessFeature),
StoryFeature(PremiumSourceStoryFeature),
Link(PremiumSourceLink),
Settings,
}Variants§
LimitExceeded(PremiumSourceLimitExceeded)
A limit was exceeded
Feature(PremiumSourceFeature)
A user tried to use a Premium feature
BusinessFeature(PremiumSourceBusinessFeature)
A user tried to use a Business feature
StoryFeature(PremiumSourceStoryFeature)
A user tried to use a Premium story feature
Link(PremiumSourceLink)
A user opened an internal link of the type internalLinkTypePremiumFeatures
Settings
A user opened the Premium features screen from settings
Trait Implementations§
Source§impl Clone for PremiumSource
impl Clone for PremiumSource
Source§fn clone(&self) -> PremiumSource
fn clone(&self) -> PremiumSource
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 PremiumSource
impl Debug for PremiumSource
Source§impl<'de> Deserialize<'de> for PremiumSource
impl<'de> Deserialize<'de> for PremiumSource
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 PartialEq for PremiumSource
impl PartialEq for PremiumSource
Source§impl Serialize for PremiumSource
impl Serialize for PremiumSource
impl StructuralPartialEq for PremiumSource
Auto Trait Implementations§
impl Freeze for PremiumSource
impl RefUnwindSafe for PremiumSource
impl Send for PremiumSource
impl Sync for PremiumSource
impl Unpin for PremiumSource
impl UnwindSafe for PremiumSource
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