parsers: derive Default for ibr::LegacyQuery
Very useful when composing a query.
This commit is contained in:
parent
6cc0df47d7
commit
0c6772aa7d
2 changed files with 3 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ pub struct RemoveQuery {
|
|||
impl IqSetPayload for RemoveQuery {}
|
||||
|
||||
/// Query for registering against a service, the legacy way.
|
||||
#[derive(FromXml, AsXml, Debug, Clone)]
|
||||
#[derive(FromXml, AsXml, Debug, Clone, Default)]
|
||||
#[xml(namespace = ns::REGISTER, name = "query")]
|
||||
pub struct LegacyQuery {
|
||||
/// Whether this account is already registered
|
||||
|
|
|
|||
Loading…
Reference in a new issue