pub struct GmailHistoryDiff {
pub history_id: String,
pub added: Vec<GmailMessage>,
pub removed: Vec<GmailMessageId>,
pub labels_added: Vec<GmailHistoryLabel>,
pub labels_removed: Vec<GmailHistoryLabel>,
}Expand description
One tick’s worth of mailbox changes, Gmail-native.
Consumers translate it into their own change representation; io-gmail does not interpret it further.
Fields§
§history_id: StringThe history cursor after this diff, to persist for resuming.
added: Vec<GmailMessage>Messages added to the mailbox since the last tick.
removed: Vec<GmailMessageId>Messages removed from the mailbox since the last tick.
labels_added: Vec<GmailHistoryLabel>Label additions on individual messages.
labels_removed: Vec<GmailHistoryLabel>Label removals on individual messages.
Trait Implementations§
Source§impl Clone for GmailHistoryDiff
impl Clone for GmailHistoryDiff
Source§fn clone(&self) -> GmailHistoryDiff
fn clone(&self) -> GmailHistoryDiff
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GmailHistoryDiff
impl Debug for GmailHistoryDiff
Source§impl Default for GmailHistoryDiff
impl Default for GmailHistoryDiff
Source§fn default() -> GmailHistoryDiff
fn default() -> GmailHistoryDiff
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GmailHistoryDiff
impl RefUnwindSafe for GmailHistoryDiff
impl Send for GmailHistoryDiff
impl Sync for GmailHistoryDiff
impl Unpin for GmailHistoryDiff
impl UnsafeUnpin for GmailHistoryDiff
impl UnwindSafe for GmailHistoryDiff
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