]> git.proxmox.com Git - proxmox.git/commit
rest-server: more convenient alias-list for ApiConfig
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 26 Jan 2023 08:41:06 +0000 (09:41 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Thu, 2 Mar 2023 15:14:04 +0000 (16:14 +0100)
commit2f2f5cfcd8286c59596e6862902ebe35155707e7
treec49a0407f9fdbfa195e33fbab360e37969bc0a3c
parent310310c65026b281f4725eb5f3c977c3d0501269
rest-server: more convenient alias-list for ApiConfig

To the existing `.alias(item)`, add a
`.aliases(into-item-iter)` similar to how `Extend` works.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
proxmox-rest-server/src/api_config.rs