apt: repositories: document status property for standard repository

Suggested-by: Dietmar Maurer <dietmar@proxmox.com>
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fiona Ebner 2023-09-29 09:00:53 +02:00 committed by Thomas Lamprecht
parent 69edfdf985
commit f844271990

View 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>,