Derive PartialEq for PubSub elements

This commit is contained in:
mb 2024-06-17 18:53:41 +02:00
commit 44029c90bb
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -122,7 +122,7 @@ generate_element!(
/// Main payload used to communicate with a PubSubOwner service.
///
/// `<pubsub xmlns="http://jabber.org/protocol/pubsub#owner"/>`
#[derive(Debug, Clone)]
#[derive(Debug, Clone, PartialEq)]
pub enum PubSubOwner {
/// Manage the affiliations of a node.
Affiliations(Affiliations),