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§
Source§impl<'de> Deserialize<'de> for ChatList
impl<'de> Deserialize<'de> for ChatList
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
Auto Trait Implementations§
impl Freeze for ChatList
impl RefUnwindSafe for ChatList
impl Send for ChatList
impl Sync for ChatList
impl Unpin for ChatList
impl UnwindSafe for ChatList
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