pub struct MailUpdate {
pub labels: Option<Vec<i64>>,
pub read: Option<bool>,
}Expand description
The body of a request to update the metadata of a mail.
Fields§
§labels: Option<Vec<i64>>Label IDs to set on the mail.
read: Option<bool>Whether the mail is read.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MailUpdate
impl RefUnwindSafe for MailUpdate
impl Send for MailUpdate
impl Sync for MailUpdate
impl Unpin for MailUpdate
impl UnsafeUnpin for MailUpdate
impl UnwindSafe for MailUpdate
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