From 141fe3d136b3c86ba1dfb83aac521198193bf99c Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Sun, 19 Jun 2022 14:34:08 +0200 Subject: [PATCH] Derive Hash for KeyType --- openpgp-card/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openpgp-card/src/lib.rs b/openpgp-card/src/lib.rs index 09c46ca..89b1d5e 100644 --- a/openpgp-card/src/lib.rs +++ b/openpgp-card/src/lib.rs @@ -528,7 +528,7 @@ impl PinType { } /// Identify a Key slot on an OpenPGP card -#[derive(Debug, Clone, Copy, Eq, PartialEq)] +#[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)] #[non_exhaustive] pub enum KeyType { Signing,