]> git.proxmox.com Git - proxmox-backup.git/blobdiff - proxmox-rest-server/src/rest.rs
proxmox-rest-server: improve docs
[proxmox-backup.git] / proxmox-rest-server / src / rest.rs
index 8c1e34a3d52596f65266943f0885226372ecef16..bf4dbb40010eefc34cbacbbab095860ba94eb255 100644 (file)
@@ -52,8 +52,9 @@ impl UserInformation for EmptyUserInformation {
     fn lookup_privs(&self, _userid: &str, _path: &[&str]) -> u64 { 0 }
 }
 
+/// REST server implementation (configured with [ApiConfig])
 pub struct RestServer {
-    pub api_config: Arc<ApiConfig>,
+    api_config: Arc<ApiConfig>,
 }
 
 const MAX_URI_QUERY_LENGTH: usize = 3072;