1
0
mirror of https://gitlab.com/xmpp-rs/xmpp-rs.git synced 2024-06-29 01:48:42 +02:00

parsers/presence: derive PartialEq on Presence

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2022-12-04 17:07:02 +01:00
parent b0e5ca0be8
commit 309b4cf87d

View File

@ -147,7 +147,7 @@ impl IntoAttributeValue for Type {
}
/// The main structure representing the `<presence/>` stanza.
#[derive(Debug, Clone)]
#[derive(Debug, Clone, PartialEq)]
pub struct Presence {
/// The sender of this presence.
pub from: Option<Jid>,