pub struct InboxDrain {
pub live: Vec<MailMessage>,
pub expired_ids: Vec<String>,
pub quarantined: u64,
}Expand description
Result of draining an inbox: live messages to inject, ids of expired messages moved aside, and a count of quarantined malformed files.
Fields§
§live: Vec<MailMessage>Unexpired messages, oldest first.
expired_ids: Vec<String>Ids of expired messages moved to the read archive.
quarantined: u64Count of malformed files quarantined to the read archive.
Trait Implementations§
Source§impl Clone for InboxDrain
impl Clone for InboxDrain
Source§impl Debug for InboxDrain
impl Debug for InboxDrain
Source§impl Default for InboxDrain
impl Default for InboxDrain
impl Eq for InboxDrain
Source§impl PartialEq for InboxDrain
impl PartialEq for InboxDrain
impl StructuralPartialEq for InboxDrain
Auto Trait Implementations§
impl Freeze for InboxDrain
impl RefUnwindSafe for InboxDrain
impl Send for InboxDrain
impl Sync for InboxDrain
impl Unpin for InboxDrain
impl UnsafeUnpin for InboxDrain
impl UnwindSafe for InboxDrain
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.