Enum rust_tdlib::types::ChatList
source · [−]pub enum ChatList {
Archive(ChatListArchive),
Filter(ChatListFilter),
Main(ChatListMain),
// some variants omitted
}
Expand description
Describes a list of chats
Variants
Archive(ChatListArchive)
A list of chats usually located at the top of the main chat list. Unmuted chats are automatically moved from the Archive to the Main chat list when a new message arrives
Filter(ChatListFilter)
A list of chats belonging to a chat filter
Main(ChatListMain)
A main list of chats
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for ChatList
impl<'de> Deserialize<'de> for ChatList
sourcefn 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
Auto Trait Implementations
impl RefUnwindSafe for ChatList
impl Send for ChatList
impl Sync for ChatList
impl Unpin for ChatList
impl UnwindSafe for ChatList
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more