xmpp-parsers: Make everything PartialEq! \o/

This commit is contained in:
Emmanuel Gil Peyrot 2020-11-29 21:17:51 +01:00
commit 923a054b81
15 changed files with 21 additions and 25 deletions

View file

@ -61,7 +61,7 @@ generate_elem_id!(
);
/// The main structure representing the `<message/>` stanza.
#[derive(Debug, Clone)]
#[derive(Debug, Clone, PartialEq)]
pub struct Message {
/// The JID emitting this stanza.
pub from: Option<Jid>,