diff options
-rw-r--r-- | openpgp/src/types/features.rs | 2 | ||||
-rw-r--r-- | openpgp/src/types/server_preferences.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/types/features.rs b/openpgp/src/types/features.rs index 7deb632f..2f230042 100644 --- a/openpgp/src/types/features.rs +++ b/openpgp/src/types/features.rs @@ -1,5 +1,5 @@ /// Describes features supported by an OpenPGP implementation. -#[derive(Clone, Debug, PartialEq)] +#[derive(Clone, Debug, PartialEq, Eq, Hash)] pub struct Features{ mdc: bool, aead: bool, diff --git a/openpgp/src/types/server_preferences.rs b/openpgp/src/types/server_preferences.rs index 5567f4a9..4b432526 100644 --- a/openpgp/src/types/server_preferences.rs +++ b/openpgp/src/types/server_preferences.rs @@ -1,7 +1,7 @@ use std::fmt; /// Describes preferences regarding key servers. -#[derive(Clone, PartialEq, Eq)] +#[derive(Clone, PartialEq, Eq, Hash)] pub struct KeyServerPreferences{ no_modify: bool, unknown: Box<[u8]>, |