mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
parsers/presence: derive PartialEq on Presence
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
b0e5ca0be8
commit
309b4cf87d
1 changed files with 1 additions and 1 deletions
|
@ -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>,
|
||||
|
|
Loading…
Reference in a new issue