pub enum PremiumStoryFeature {
PriorityOrder,
StealthMode,
PermanentViewsHistory,
CustomExpirationDuration,
SaveStories,
LinksAndFormatting,
VideoQuality,
}
Variants§
PriorityOrder
Stories of the current user are displayed before stories of non-Premium contacts, supergroups, and channels
StealthMode
The ability to hide the fact that the user viewed other’s stories
PermanentViewsHistory
The ability to check who opened the current user’s stories after they expire
CustomExpirationDuration
The ability to set custom expiration duration for stories
SaveStories
The ability to save other’s unprotected stories
LinksAndFormatting
The ability to use links and formatting in story caption
VideoQuality
The ability to choose better quality for viewed stories
Trait Implementations§
Source§impl Clone for PremiumStoryFeature
impl Clone for PremiumStoryFeature
Source§fn clone(&self) -> PremiumStoryFeature
fn clone(&self) -> PremiumStoryFeature
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 PremiumStoryFeature
impl Debug for PremiumStoryFeature
Source§impl<'de> Deserialize<'de> for PremiumStoryFeature
impl<'de> Deserialize<'de> for PremiumStoryFeature
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 PremiumStoryFeature
impl PartialEq for PremiumStoryFeature
Source§impl Serialize for PremiumStoryFeature
impl Serialize for PremiumStoryFeature
impl StructuralPartialEq for PremiumStoryFeature
Auto Trait Implementations§
impl Freeze for PremiumStoryFeature
impl RefUnwindSafe for PremiumStoryFeature
impl Send for PremiumStoryFeature
impl Sync for PremiumStoryFeature
impl Unpin for PremiumStoryFeature
impl UnwindSafe for PremiumStoryFeature
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