Add Eq and Hash for disco::Feature

Paul Fariello created

Change summary

xmpp-parsers/src/disco.rs | 1 +
1 file changed, 1 insertion(+)

Detailed changes

xmpp-parsers/src/disco.rs 🔗

@@ -26,6 +26,7 @@ attributes: [
 impl IqGetPayload for DiscoInfoQuery {}
 
 generate_element!(
+#[derive(Eq, Hash)]
 /// Structure representing a `<feature xmlns='http://jabber.org/protocol/disco#info'/>` element.
 Feature, "feature", DISCO_INFO,
 attributes: [