make Capabilities fields public #2

Merged
epilys merged 1 commits from proxy-updates-2 into main 4 months ago
  1. 16
      src/rfc8620.rs

16
src/rfc8620.rs

@ -227,21 +227,21 @@ impl Object for JmapSession {
#[serde(rename_all = "camelCase")]
pub struct CapabilitiesObject {
#[serde(default)]
max_size_upload: u64,
pub max_size_upload: u64,
#[serde(default)]
max_concurrent_upload: u64,
pub max_concurrent_upload: u64,
#[serde(default)]
max_size_request: u64,
pub max_size_request: u64,
#[serde(default)]
max_concurrent_requests: u64,
pub max_concurrent_requests: u64,
#[serde(default)]
max_calls_in_request: u64,
pub max_calls_in_request: u64,
#[serde(default)]
max_objects_in_get: u64,
pub max_objects_in_get: u64,
#[serde(default)]
max_objects_in_set: u64,
pub max_objects_in_set: u64,
#[serde(default)]
collation_algorithms: Vec<String>,
pub collation_algorithms: Vec<String>,
}
#[derive(Deserialize, Serialize, Debug, Clone)]

Loading…
Cancel
Save