tokio-xmpp: impl PartialEq on event::Stanza
skip-changelog: Stanza hasn't been in a release yet. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
7c87d879d8
commit
653a10b170
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ pub(crate) fn make_id() -> String {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A stanza sent/received over the stream.
|
/// A stanza sent/received over the stream.
|
||||||
#[derive(FromXml, AsXml, Debug)]
|
#[derive(FromXml, AsXml, Debug, PartialEq)]
|
||||||
#[xml()]
|
#[xml()]
|
||||||
pub enum Stanza {
|
pub enum Stanza {
|
||||||
/// IQ stanza
|
/// IQ stanza
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue