xml: Replace Unit with ()

This commit is contained in:
Lennart
2024-12-25 10:28:50 +01:00
parent 80472289dc
commit bb2708c17e
7 changed files with 25 additions and 39 deletions

View File

@@ -3,14 +3,14 @@ use actix_web::web::{Data, Path};
use actix_web::HttpResponse;
use rustical_store::auth::User;
use rustical_store::{Calendar, CalendarStore};
use rustical_xml::{Unit, XmlDeserialize, XmlDocument, XmlRootTag};
use rustical_xml::{XmlDeserialize, XmlDocument, XmlRootTag};
use tracing::instrument;
use tracing_actix_web::RootSpan;
#[derive(XmlDeserialize, Clone, Debug)]
pub struct Resourcetype {
calendar: Option<Unit>,
collection: Option<Unit>,
calendar: Option<()>,
collection: Option<()>,
}
#[derive(XmlDeserialize, Clone, Debug)]