From 83934e59e66f52d90166e29ddd09be1d354e2d35 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 2 Nov 2021 12:53:30 +0100 Subject: [PATCH] proxmox-tfa: make u2f::AuthChallenge Clone + Debug Signed-off-by: Wolfgang Bumiller --- proxmox-tfa/src/u2f.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxmox-tfa/src/u2f.rs b/proxmox-tfa/src/u2f.rs index 9593e277..95aa41a1 100644 --- a/proxmox-tfa/src/u2f.rs +++ b/proxmox-tfa/src/u2f.rs @@ -104,7 +104,7 @@ pub struct RegistrationResponse { /// include the registered keys. /// /// Part of the U2F API, therefore `camelCase`. -#[derive(Deserialize, Serialize)] +#[derive(Clone, Debug, Deserialize, Serialize)] #[serde(rename_all = "camelCase")] pub struct AuthChallenge { pub challenge: String,