feat: add support for IMAP METADATA

This commit is contained in:
link2xt
2024-01-25 00:17:37 +00:00
parent 06f1fe18d6
commit cb3f03fd39
8 changed files with 86 additions and 3 deletions

View File

@@ -21,6 +21,10 @@ pub(crate) struct Capabilities {
/// <https://tools.ietf.org/html/rfc7162>
pub can_condstore: bool,
/// True if the server has METADATA capability as defined in
/// <https://tools.ietf.org/html/rfc5464>
pub can_metadata: bool,
/// Server ID if the server supports ID capability.
pub server_id: Option<HashMap<String, String>>,
}