Add Nextcloud namespace

This commit is contained in:
Lennart
2023-09-07 21:28:55 +02:00
parent c1d42eff20
commit 8ed209e16c

View File

@@ -9,6 +9,7 @@ pub enum Namespace {
CardDAV, CardDAV,
ICal, ICal,
CServer, CServer,
Nextcloud,
} }
impl Namespace { impl Namespace {
@@ -19,6 +20,7 @@ impl Namespace {
Self::CardDAV => "urn:ietf:params:xml:ns:carddav", Self::CardDAV => "urn:ietf:params:xml:ns:carddav",
Self::ICal => "http://apple.com/ns/ical/", Self::ICal => "http://apple.com/ns/ical/",
Self::CServer => "http://calendarserver.org/ns/", Self::CServer => "http://calendarserver.org/ns/",
Self::Nextcloud => "http://nextcloud.com/ns",
} }
} }
@@ -30,6 +32,7 @@ impl Namespace {
Self::CardDAV => "xmlns:CARD", Self::CardDAV => "xmlns:CARD",
Self::ICal => "xmlns:IC", Self::ICal => "xmlns:IC",
Self::CServer => "xmlns:CS", Self::CServer => "xmlns:CS",
Self::Nextcloud => "xmlns:NEXTC",
} }
} }
} }