diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-12-11 00:15:36 +0200 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2019-12-11 00:15:36 +0200 |
commit | 6f76cd9acc45f1ef1c7eee224b530e5e34a91860 (patch) | |
tree | 5ddb16596c46bef7d2634bcf0db2acbf720f3af6 /melib/src/conf.rs | |
parent | bce97d71bb62c18f972720264a1840bafc62687d (diff) |
melib: add special_usage() method to BackendFolder
Eventually after loading potential usage values from configuration,
backends will be able to change the usage values themselves. IMAP and
JMAP have the ability to set Mailbox roles (IMAP needs LIST-SPECIAL
extension
Diffstat (limited to 'melib/src/conf.rs')
-rw-r--r-- | melib/src/conf.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/melib/src/conf.rs b/melib/src/conf.rs index d5199213..6b5f8298 100644 --- a/melib/src/conf.rs +++ b/melib/src/conf.rs @@ -18,7 +18,7 @@ * You should have received a copy of the GNU General Public License * along with meli. If not, see <http://www.gnu.org/licenses/>. */ -use crate::backends::SpecialUseMailbox; +use crate::backends::SpecialUsageMailbox; use serde::{Deserialize, Deserializer, Serialize, Serializer}; use std::collections::HashMap; @@ -81,7 +81,7 @@ pub struct FolderConf { #[serde(deserialize_with = "toggleflag_de")] pub ignore: ToggleFlag, #[serde(default = "none")] - pub usage: Option<SpecialUseMailbox>, + pub usage: Option<SpecialUsageMailbox>, #[serde(flatten)] pub extra: HashMap<String, String>, } |