forked from Proxmox/proxmox
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:
parent
69edfdf985
commit
f844271990
@ -24,7 +24,8 @@ pub struct APTStandardRepository {
|
|||||||
/// Handle referencing a standard repository.
|
/// Handle referencing a standard repository.
|
||||||
pub handle: APTRepositoryHandle,
|
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")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
pub status: Option<bool>,
|
pub status: Option<bool>,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user