Implement data model changes to support new WebDAV Push spec

This commit is contained in:
Lennart
2025-05-03 15:24:00 +02:00
parent f50ef8a1d5
commit d1f249a01b
17 changed files with 605 additions and 152 deletions

View File

@@ -18,9 +18,9 @@ pub struct WebPushSubscription {
#[derive(XmlDeserialize, Clone, Debug, PartialEq)]
pub struct SubscriptionPublicKey {
#[xml(ty = "attr", rename = b"type")]
ty: String,
pub ty: String,
#[xml(ty = "text")]
key: String,
pub key: String,
}
#[derive(XmlDeserialize, Clone, Debug, PartialEq)]