pub struct GmailLabel {
pub id: String,
pub name: String,
pub label_type: Option<String>,
pub messages_total: Option<u32>,
pub messages_unread: Option<u32>,
pub color: Option<GmailLabelColor>,
}Fields§
§id: String§name: String§label_type: Option<String>§messages_total: Option<u32>§messages_unread: Option<u32>§color: Option<GmailLabelColor>Trait Implementations§
Source§impl Clone for GmailLabel
impl Clone for GmailLabel
Source§fn clone(&self) -> GmailLabel
fn clone(&self) -> GmailLabel
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 GmailLabel
impl Debug for GmailLabel
Source§impl<'de> Deserialize<'de> for GmailLabel
impl<'de> Deserialize<'de> for GmailLabel
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 GmailLabel
impl RefUnwindSafe for GmailLabel
impl Send for GmailLabel
impl Sync for GmailLabel
impl Unpin for GmailLabel
impl UnsafeUnpin for GmailLabel
impl UnwindSafe for GmailLabel
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