aboutsummaryrefslogtreecommitdiff
path: root/src/uidindex.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-06-13 18:01:07 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-06-13 18:01:07 +0200
commit12b379e7c3f832be5fd650ce3abc33b7d0b9fed8 (patch)
treed7c5e9dd63f54c90aae967fc0058d31b9deba120 /src/uidindex.rs
parent7113809cb7b9f0e73d942b295e693675301d1565 (diff)
downloadaerogramme-12b379e7c3f832be5fd650ce3abc33b7d0b9fed8.tar.gz
aerogramme-12b379e7c3f832be5fd650ce3abc33b7d0b9fed8.zip
Handle select
Diffstat (limited to 'src/uidindex.rs')
-rw-r--r--src/uidindex.rs5
1 files changed, 3 insertions, 2 deletions
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<ImapUid, MailUuid>,
+
pub uidvalidity: ImapUidvalidity,
pub uidnext: ImapUid,
pub internalseq: ImapUid,