pub struct MailLabels {
pub labels: Vec<MailLabel>,
pub total_unread_count: Option<i32>,
}Expand description
Information about all mail labels.
Fields§
§labels: Vec<MailLabel>List of individual mail labels.
total_unread_count: Option<i32>Total unread count across all labels.
Trait Implementations§
Source§impl Clone for MailLabels
impl Clone for MailLabels
Source§impl Debug for MailLabels
impl Debug for MailLabels
Source§impl<'de> Deserialize<'de> for MailLabels
impl<'de> Deserialize<'de> for MailLabels
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 MailLabels
impl RefUnwindSafe for MailLabels
impl Send for MailLabels
impl Sync for MailLabels
impl Unpin for MailLabels
impl UnsafeUnpin for MailLabels
impl UnwindSafe for MailLabels
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