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.
|
/// The main structure representing the `<presence/>` stanza.
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone, PartialEq)]
|
||||||
pub struct Presence {
|
pub struct Presence {
|
||||||
/// The sender of this presence.
|
/// The sender of this presence.
|
||||||
pub from: Option<Jid>,
|
pub from: Option<Jid>,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue