]> git.proxmox.com Git - proxmox.git/commitdiff
apt: repositories: document status property for standard repository
authorFiona Ebner <f.ebner@proxmox.com>
Fri, 29 Sep 2023 07:00:53 +0000 (09:00 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 6 Nov 2023 18:48:30 +0000 (19:48 +0100)
Suggested-by: Dietmar Maurer <dietmar@proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
proxmox-apt/src/repositories/standard.rs

index 4bb57d443c5f6cb1627cb7552dffc9af651c3841..29cc788521b1065fefe231e2a3de1f117d62e7a7 100644 (file)
@@ -24,7 +24,8 @@ pub struct APTStandardRepository {
     /// Handle referencing a standard repository.
     pub handle: APTRepositoryHandle,
 
-    /// Configuration status of the associated repository.
+    /// Configuration status of the associated repository, where `None` means
+    /// not configured, and `Some(bool)` indicates enabled or disabled.
     #[serde(skip_serializing_if = "Option::is_none")]
     pub status: Option<bool>,