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
|
|
@ -12,6 +12,8 @@ XXXX-YY-ZZ RELEASER <admin@example.com>
|
|||
* Improvements:
|
||||
- Make Priority’s inner i8 pub, which had been broken since the
|
||||
conversion to xso. (!632)
|
||||
- ibr::LegacyQuery now implements Default, allowing users to more
|
||||
easily construct it (!660)
|
||||
|
||||
Version 0.22.0:
|
||||
2025-10-28 pep <pep@bouah.net>
|
||||
|
|
|
|||
|
|
@ -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