diff --git a/crates/fido-common/src/credential/public_key.rs b/crates/fido-common/src/credential/public_key.rs index 66e98e4..48641bc 100644 --- a/crates/fido-common/src/credential/public_key.rs +++ b/crates/fido-common/src/credential/public_key.rs @@ -81,7 +81,7 @@ pub struct Descriptor { /// > the RP. /// Due to deprecation, the `icon` URL is omitted. See . #[cfg_eval] -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq, Eq)] #[cfg_attr( feature = "serde", serde_as, @@ -118,7 +118,7 @@ pub struct UserEntity { /// > This `PublicKeyCredentialRpEntity` data structure describes a Relying /// > Party with which the new public key credential will be associated. -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq, Eq)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub struct RelyingPartyEntity { /// > A unique identifier for the Relying Party entity.