Browse Source

make Capabilities fields public

main
Ujjwal Sharma 2 months ago
parent
commit
8132357804
No known key found for this signature in database GPG Key ID: 460B292812C67D9F
  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