pub struct MailSync {
pub upserts: Vec<MailItem>,
pub removed: Vec<String>,
pub cursor: String,
pub more: bool,
}Expand description
One round of mailbox sync.
Fields§
§upserts: Vec<MailItem>New or changed messages (folder moves included).
removed: Vec<String>Ids that left the synced window (deleted for good, or moved out of every tracked folder).
cursor: StringOpaque cursor for the next call.
more: boolMore changes are waiting: call again with cursor at once.
Trait Implementations§
Auto Trait Implementations§
impl Forget for MailSync
impl Freeze for MailSync
impl Move for MailSync
impl RefUnwindSafe for MailSync
impl Send for MailSync
impl Sync for MailSync
impl Unpin for MailSync
impl UnsafeUnpin for MailSync
impl UnwindSafe for MailSync
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