pub struct UpdateUnreadChatCount {
pub unread_count: i32,
pub unread_unmuted_count: i32,
pub marked_as_unread_count: i32,
pub marked_as_unread_unmuted_count: i32,
}
Expand description
Number of unread chats, i.e. with unread messages or marked as unread, has changed. This update is sent only if a message database is used
Fields§
§unread_count: i32
Total number of unread chats
unread_unmuted_count: i32
Total number of unread unmuted chats
marked_as_unread_count: i32
Total number of chats marked as unread
marked_as_unread_unmuted_count: i32
Total number of unmuted chats marked as unread
Trait Implementations§
Source§impl Clone for UpdateUnreadChatCount
impl Clone for UpdateUnreadChatCount
Source§fn clone(&self) -> UpdateUnreadChatCount
fn clone(&self) -> UpdateUnreadChatCount
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 UpdateUnreadChatCount
impl Debug for UpdateUnreadChatCount
Source§impl<'de> Deserialize<'de> for UpdateUnreadChatCount
impl<'de> Deserialize<'de> for UpdateUnreadChatCount
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 UpdateUnreadChatCount
impl RefUnwindSafe for UpdateUnreadChatCount
impl Send for UpdateUnreadChatCount
impl Sync for UpdateUnreadChatCount
impl Unpin for UpdateUnreadChatCount
impl UnwindSafe for UpdateUnreadChatCount
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