mirror of
https://git.proxmox.com/git/proxmox-backup
synced 2025-05-07 10:35:24 +00:00
api-types: add missing doc-comment description for api enums
this is used as description in the api schema Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
6c44f3e584
commit
c606fdaa88
@ -270,6 +270,7 @@ pub enum NodePowerCommand {
|
|||||||
#[api()]
|
#[api()]
|
||||||
#[derive(Eq, PartialEq, Debug, Serialize, Deserialize)]
|
#[derive(Eq, PartialEq, Debug, Serialize, Deserialize)]
|
||||||
#[serde(rename_all = "lowercase")]
|
#[serde(rename_all = "lowercase")]
|
||||||
|
/// The state (result) of a finished worker task.
|
||||||
pub enum TaskStateType {
|
pub enum TaskStateType {
|
||||||
/// Ok
|
/// Ok
|
||||||
OK,
|
OK,
|
||||||
|
@ -112,6 +112,7 @@ pub struct MamAttribute {
|
|||||||
|
|
||||||
#[api()]
|
#[api()]
|
||||||
#[derive(Serialize, Deserialize, Copy, Clone, Debug, PartialOrd, PartialEq)]
|
#[derive(Serialize, Deserialize, Copy, Clone, Debug, PartialOrd, PartialEq)]
|
||||||
|
/// The density of a tape medium, derived from the LTO version.
|
||||||
pub enum TapeDensity {
|
pub enum TapeDensity {
|
||||||
/// Unknown (no media loaded)
|
/// Unknown (no media loaded)
|
||||||
Unknown,
|
Unknown,
|
||||||
|
Loading…
Reference in New Issue
Block a user