Tested-by: Christoph Heiss <c.heiss@proxmox.com>
Reviewed-by: Christoph Heiss <c.heiss@proxmox.com>
Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
}
}
+impl fmt::Display for ProxmoxProduct {
+ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
+ match self {
+ Self::PVE => write!(f, "pve"),
+ Self::PMG => write!(f, "pmg"),
+ Self::PBS => write!(f, "pbs"),
+ }
+ }
+}
+
#[derive(Clone, Deserialize)]
pub struct ProductConfig {
pub fullname: String,