Implementation of all JMAP Mail methods.

This commit is contained in:
Mauro D
2022-05-10 15:22:13 +00:00
parent cd74566ca3
commit 17cecbdb63
27 changed files with 2501 additions and 99 deletions

View File

@@ -40,3 +40,21 @@ pub struct VacationResponse<State = Get> {
#[serde(skip_serializing_if = "string_not_set")]
html_body: Option<String>,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
pub enum Property {
#[serde(rename = "id")]
Id,
#[serde(rename = "isEnabled")]
IsEnabled,
#[serde(rename = "fromDate")]
FromDate,
#[serde(rename = "toDate")]
ToDate,
#[serde(rename = "subject")]
Subject,
#[serde(rename = "textBody")]
TextBody,
#[serde(rename = "htmlBody")]
HtmlBody,
}