pub enum ProfileTab {
Posts,
Gifts,
Media,
Files,
Music,
Voice,
Links,
Gifs,
}Expand description
Variants§
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 · 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 Deserializable for ProfileTab
impl Deserializable for ProfileTab
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<ProfileTabFiles> for ProfileTab
impl From<ProfileTabFiles> for ProfileTab
Source§fn from(_x: ProfileTabFiles) -> Self
fn from(_x: ProfileTabFiles) -> Self
Converts to this type from the input type.
Source§impl From<ProfileTabGifs> for ProfileTab
impl From<ProfileTabGifs> for ProfileTab
Source§fn from(_x: ProfileTabGifs) -> Self
fn from(_x: ProfileTabGifs) -> Self
Converts to this type from the input type.
Source§impl From<ProfileTabGifts> for ProfileTab
impl From<ProfileTabGifts> for ProfileTab
Source§fn from(_x: ProfileTabGifts) -> Self
fn from(_x: ProfileTabGifts) -> Self
Converts to this type from the input type.
Source§impl From<ProfileTabLinks> for ProfileTab
impl From<ProfileTabLinks> for ProfileTab
Source§fn from(_x: ProfileTabLinks) -> Self
fn from(_x: ProfileTabLinks) -> Self
Converts to this type from the input type.
Source§impl From<ProfileTabMedia> for ProfileTab
impl From<ProfileTabMedia> for ProfileTab
Source§fn from(_x: ProfileTabMedia) -> Self
fn from(_x: ProfileTabMedia) -> Self
Converts to this type from the input type.
Source§impl From<ProfileTabMusic> for ProfileTab
impl From<ProfileTabMusic> for ProfileTab
Source§fn from(_x: ProfileTabMusic) -> Self
fn from(_x: ProfileTabMusic) -> Self
Converts to this type from the input type.
Source§impl From<ProfileTabPosts> for ProfileTab
impl From<ProfileTabPosts> for ProfileTab
Source§fn from(_x: ProfileTabPosts) -> Self
fn from(_x: ProfileTabPosts) -> Self
Converts to this type from the input type.
Source§impl From<ProfileTabVoice> for ProfileTab
impl From<ProfileTabVoice> for ProfileTab
Source§fn from(_x: ProfileTabVoice) -> Self
fn from(_x: ProfileTabVoice) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProfileTab
impl PartialEq for ProfileTab
Source§impl Serializable for ProfileTab
impl Serializable 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