Struct ruma_client_api::r0::sync::sync_events::UnreadNotificationsCount
source · pub struct UnreadNotificationsCount {
pub highlight_count: Option<u64>,
pub notification_count: Option<u64>,
}Expand description
unread notifications count
Fields§
§highlight_count: Option<u64>The number of unread notifications for this room with the highlight flag set.
notification_count: Option<u64>The total number of unread notifications for this room.
Trait Implementations§
source§impl Clone for UnreadNotificationsCount
impl Clone for UnreadNotificationsCount
source§fn clone(&self) -> UnreadNotificationsCount
fn clone(&self) -> UnreadNotificationsCount
Returns a copy 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 UnreadNotificationsCount
impl Debug for UnreadNotificationsCount
source§impl<'de> Deserialize<'de> for UnreadNotificationsCount
impl<'de> Deserialize<'de> for UnreadNotificationsCount
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