From 34e86078c2122e1c8a7a865c99ecb5129dbc113c Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 23 Oct 2023 11:44:45 +0200 Subject: [PATCH] proxmox-tfa: derive Copy, Clone and PartialEq on TfaType (for GUI) Signed-off-by: Dietmar Maurer --- proxmox-tfa/src/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-tfa/src/types.rs b/proxmox-tfa/src/types.rs index 78deda69..c6e45921 100644 --- a/proxmox-tfa/src/types.rs +++ b/proxmox-tfa/src/types.rs @@ -5,7 +5,7 @@ use proxmox_schema::api; #[cfg_attr(feature = "api-types", api)] /// A TFA entry type. -#[derive(Debug, Deserialize, Serialize)] +#[derive(Copy, Clone, Debug, Deserialize, Serialize, PartialEq)] #[serde(rename_all = "lowercase")] pub enum TfaType { /// A TOTP entry type.