make Capabilities fields public

Ujjwal Sharma 2021-08-08 12:01:29 +05:30
parent b7ccc37fea
commit 8132357804
Failed to generate hash of commit
1 changed files with 8 additions and 8 deletions

View File

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