From d8498437c3df74764ecec8c825629643987d1efc Mon Sep 17 00:00:00 2001 From: Paul Fariello Date: Sat, 10 Apr 2021 14:36:12 +0200 Subject: [PATCH] Add Eq and Hash for disco::Feature --- xmpp-parsers/src/disco.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/xmpp-parsers/src/disco.rs b/xmpp-parsers/src/disco.rs index 3a1890d7..1bdb7a0a 100644 --- a/xmpp-parsers/src/disco.rs +++ b/xmpp-parsers/src/disco.rs @@ -26,6 +26,7 @@ attributes: [ impl IqGetPayload for DiscoInfoQuery {} generate_element!( +#[derive(Eq, Hash)] /// Structure representing a `` element. Feature, "feature", DISCO_INFO, attributes: [