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> (cherry picked from commit c606fdaa889a6ffcb6e52eb9c6c5f73de146364e)
This commit is contained in:
parent
33852deab1
commit
0fbe2e5502
@ -270,6 +270,7 @@ pub enum NodePowerCommand {
|
||||
#[api()]
|
||||
#[derive(Eq, PartialEq, Debug, Serialize, Deserialize)]
|
||||
#[serde(rename_all = "lowercase")]
|
||||
/// The state (result) of a finished worker task.
|
||||
pub enum TaskStateType {
|
||||
/// Ok
|
||||
OK,
|
||||
|
@ -112,6 +112,7 @@ pub struct MamAttribute {
|
||||
|
||||
#[api()]
|
||||
#[derive(Serialize, Deserialize, Copy, Clone, Debug, PartialOrd, PartialEq)]
|
||||
/// The density of a tape medium, derived from the LTO version.
|
||||
pub enum TapeDensity {
|
||||
/// Unknown (no media loaded)
|
||||
Unknown,
|
||||
|
Loading…
Reference in New Issue
Block a user