pub struct UnreadCounts {Show 14 fields
pub inbox: u32,
pub notes: u32,
pub alerts: u32,
pub substitutions: u32,
pub absences: u32,
pub justifications: u32,
pub trash: u32,
pub archive_inbox: u32,
pub archive_notes: u32,
pub archive_alerts: u32,
pub archive_substitutions: u32,
pub archive_absences: u32,
pub archive_justifications: u32,
pub archive_trash: u32,
}Expand description
Unread message counts across all folders.
Fields§
§inbox: u32Unread messages in inbox.
notes: u32Unread notes.
alerts: u32Unread alerts.
substitutions: u32Unread substitution notifications.
absences: u32Unread absence notifications.
justifications: u32Unread justification requests.
trash: u32Items in trash.
archive_inbox: u32Archived inbox messages.
archive_notes: u32Archived notes.
archive_alerts: u32Archived alerts.
archive_substitutions: u32Archived substitution notifications.
archive_absences: u32Archived absence notifications.
archive_justifications: u32Archived justification requests.
archive_trash: u32Archived trash items.
Trait Implementations§
Source§impl Debug for UnreadCounts
impl Debug for UnreadCounts
Source§impl<'de> Deserialize<'de> for UnreadCounts
impl<'de> Deserialize<'de> for UnreadCounts
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 UnreadCounts
impl RefUnwindSafe for UnreadCounts
impl Send for UnreadCounts
impl Sync for UnreadCounts
impl Unpin for UnreadCounts
impl UnwindSafe for UnreadCounts
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