diff --git a/pbs-api-types/src/lib.rs b/pbs-api-types/src/lib.rs index 635292a54..460c7da7c 100644 --- a/pbs-api-types/src/lib.rs +++ b/pbs-api-types/src/lib.rs @@ -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, diff --git a/pbs-api-types/src/tape/drive.rs b/pbs-api-types/src/tape/drive.rs index 2b788bd67..e00665cd9 100644 --- a/pbs-api-types/src/tape/drive.rs +++ b/pbs-api-types/src/tape/drive.rs @@ -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,