Struct deltachat::imap::capabilities::Capabilities
source · pub(crate) struct Capabilities {
pub can_idle: bool,
pub can_move: bool,
pub can_check_quota: bool,
pub can_condstore: bool,
pub can_metadata: bool,
pub can_push: bool,
pub server_id: Option<HashMap<String, String>>,
}
Fields§
§can_idle: bool
True if the server has IDLE capability as defined in https://tools.ietf.org/html/rfc2177
can_move: bool
True if the server has MOVE capability as defined in https://tools.ietf.org/html/rfc6851
can_check_quota: bool
True if the server has QUOTA capability as defined in https://tools.ietf.org/html/rfc2087
can_condstore: bool
True if the server has CONDSTORE capability as defined in https://tools.ietf.org/html/rfc7162
can_metadata: bool
True if the server has METADATA capability as defined in https://tools.ietf.org/html/rfc5464
can_push: bool
True if the server supports XDELTAPUSH capability. This capability means setting /private/devicetoken IMAP METADATA on the INBOX results in new mail notifications via notifications.delta.chat service. This is supported by https://github.com/deltachat/chatmail
server_id: Option<HashMap<String, String>>
Server ID if the server supports ID capability.