parsers: derive PartialEq on Iq too

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2023-05-29 13:59:05 +02:00
commit e8a7d909c1
2 changed files with 3 additions and 3 deletions

View file

@ -194,7 +194,7 @@ generate_element_enum!(
type Lang = String;
/// The representation of a stanza error.
#[derive(Debug, Clone)]
#[derive(Debug, Clone, PartialEq)]
pub struct StanzaError {
/// The type of this error.
pub type_: ErrorType,