From 309b4cf87d628e5c6ba0554699b5ea36104122fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 4 Dec 2022 17:07:02 +0100 Subject: [PATCH] parsers/presence: derive PartialEq on Presence MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- parsers/src/presence.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parsers/src/presence.rs b/parsers/src/presence.rs index 31e60965..6ea5a847 100644 --- a/parsers/src/presence.rs +++ b/parsers/src/presence.rs @@ -147,7 +147,7 @@ impl IntoAttributeValue for Type { } /// The main structure representing the `` stanza. -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq)] pub struct Presence { /// The sender of this presence. pub from: Option,