pub enum ProfileTab {
Posts,
Gifts,
Media,
Files,
Links,
Music,
Voice,
Gifs,
}Variants§
Posts
A tab with stories posted by the user or the channel chat and saved to profile
Gifts
A tab with gifts received by the user or the channel chat
Media
A tab with photos and videos posted by the channel
Files
A tab with documents posted by the channel
Links
A tab with messages posted by the channel and containing links
Music
A tab with audio messages posted by the channel
Voice
A tab with voice notes posted by the channel
Gifs
A tab with animations posted by the channel
Trait Implementations§
Source§impl Clone for ProfileTab
impl Clone for ProfileTab
Source§fn clone(&self) -> ProfileTab
fn clone(&self) -> ProfileTab
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProfileTab
impl Debug for ProfileTab
Source§impl<'de> Deserialize<'de> for ProfileTab
impl<'de> Deserialize<'de> for ProfileTab
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 ProfileTab
impl PartialEq for ProfileTab
Source§fn eq(&self, other: &ProfileTab) -> bool
fn eq(&self, other: &ProfileTab) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProfileTab
impl Serialize for ProfileTab
impl StructuralPartialEq for ProfileTab
Auto Trait Implementations§
impl Freeze for ProfileTab
impl RefUnwindSafe for ProfileTab
impl Send for ProfileTab
impl Sync for ProfileTab
impl Unpin for ProfileTab
impl UnsafeUnpin for ProfileTab
impl UnwindSafe for ProfileTab
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