pub enum TopChatCategory {
Users,
Bots,
Groups,
Channels,
InlineBots,
Calls,
ForwardChats,
}Variants§
Users
A category containing frequently used private chats with non-bot users
Bots
A category containing frequently used private chats with bot users
Groups
A category containing frequently used basic groups and supergroups
Channels
A category containing frequently used channels
InlineBots
A category containing frequently used chats with inline bots sorted by their usage in inline mode
Calls
A category containing frequently used chats used for calls
ForwardChats
A category containing frequently used chats used to forward messages
Trait Implementations§
Source§impl Clone for TopChatCategory
impl Clone for TopChatCategory
Source§fn clone(&self) -> TopChatCategory
fn clone(&self) -> TopChatCategory
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 TopChatCategory
impl Debug for TopChatCategory
Source§impl<'de> Deserialize<'de> for TopChatCategory
impl<'de> Deserialize<'de> for TopChatCategory
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 TopChatCategory
impl PartialEq for TopChatCategory
Source§impl Serialize for TopChatCategory
impl Serialize for TopChatCategory
impl StructuralPartialEq for TopChatCategory
Auto Trait Implementations§
impl Freeze for TopChatCategory
impl RefUnwindSafe for TopChatCategory
impl Send for TopChatCategory
impl Sync for TopChatCategory
impl Unpin for TopChatCategory
impl UnwindSafe for TopChatCategory
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