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 MailSyncwhere
*const u8 is !null: Freeze,
PhantomData<MailItem>: Freeze,
PhantomData<String>: Freeze,
PhantomData<u8>: Freeze,
impl Move for MailSync
impl RefUnwindSafe for MailSync
impl Send for MailSync
impl Sync for MailSync
impl Unpin for MailSync
impl UnsafeUnpin for MailSyncwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<MailItem>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
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