From 72eb68b61e3f14957c5ab89bd22f776ac860eb62 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Thu, 27 Jun 2024 12:02:29 +0200 Subject: [PATCH] Implement Copy for ctap2::AttestationStatementFormat This change was accidentally removed from https://github.com/trussed-dev/ctap-types/pull/51 during a rebase. --- src/ctap2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ctap2.rs b/src/ctap2.rs index 717af21..f69fa18 100644 --- a/src/ctap2.rs +++ b/src/ctap2.rs @@ -259,7 +259,7 @@ pub enum AttestationStatement { Packed(PackedAttestationStatement), } -#[derive(Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] +#[derive(Copy, Clone, Debug, Eq, PartialEq, Serialize, Deserialize)] #[cfg_attr(feature = "arbitrary", derive(arbitrary::Arbitrary))] #[non_exhaustive] #[serde(into = "&str", try_from = "&str")]