Added caching logging + Update config properties

This commit is contained in:
mdecimus
2025-05-19 19:11:15 +02:00
parent e34cd950bf
commit c6ef70edd2
13 changed files with 171 additions and 41 deletions

View File

@@ -303,3 +303,19 @@ impl BitmapItem for Collection {
!matches!(self, Collection::None)
}
}
impl SyncCollection {
pub fn as_str(&self) -> &'static str {
match self {
SyncCollection::Email => "email",
SyncCollection::Thread => "thread",
SyncCollection::Calendar => "calendar",
SyncCollection::AddressBook => "addressBook",
SyncCollection::FileNode => "fileNode",
SyncCollection::Identity => "identity",
SyncCollection::EmailSubmission => "emailSubmission",
SyncCollection::SieveScript => "sieveScript",
SyncCollection::None => "",
}
}
}