From 12b379e7c3f832be5fd650ce3abc33b7d0b9fed8 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 13 Jun 2022 18:01:07 +0200 Subject: Handle select --- src/uidindex.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/uidindex.rs') diff --git a/src/uidindex.rs b/src/uidindex.rs index 1e30190..42aa3bc 100644 --- a/src/uidindex.rs +++ b/src/uidindex.rs @@ -3,8 +3,8 @@ use serde::{de::Error, Deserialize, Deserializer, Serialize, Serializer}; use crate::bayou::*; -type ImapUid = u32; -type ImapUidvalidity = u32; +pub type ImapUid = u32; +pub type ImapUidvalidity = u32; /// A Mail UUID is composed of two components: /// - a process identifier, 128 bits @@ -19,6 +19,7 @@ pub struct UidIndex { pub mails_by_uid: OrdMap, + pub uidvalidity: ImapUidvalidity, pub uidnext: ImapUid, pub internalseq: ImapUid, -- cgit v1.2.3