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>,