diff --git a/src/common.rs b/src/common.rs index d8be54c..e0f0a74 100644 --- a/src/common.rs +++ b/src/common.rs @@ -12,7 +12,7 @@ pub(crate) const EPP_XMLNS: &str = "urn:ietf:params:xml:ns:epp-1.0"; /// Wraps String for easier serialization to and from values that are inner text /// for tags rather than attributes -#[derive(Default, Serialize, Deserialize, Debug, PartialEq, Clone)] +#[derive(Default, Serialize, Deserialize, Debug, Eq, PartialEq, Clone)] pub struct StringValue<'a>(Cow<'a, str>); impl Deref for StringValue<'_> { @@ -47,7 +47,7 @@ impl From for StringValue<'static> { } } -#[derive(Serialize, Deserialize, Debug, PartialEq)] +#[derive(Serialize, Deserialize, Debug, Eq, PartialEq)] /// An empty placeholder tag. To be refactored to something more compliant later. pub struct NoExtension; @@ -123,7 +123,7 @@ impl From for CheckResponse { } /// The