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.