Minor refactoring and tracing

This commit is contained in:
Lennart
2024-10-04 19:42:44 +02:00
parent 8ed0c3ec2a
commit 6bc1ac6a7d
6 changed files with 9 additions and 6 deletions

View File

@@ -8,8 +8,6 @@ use rustical_dav::xml::HrefElement;
use serde::{Deserialize, Serialize};
use strum::{EnumString, VariantNames};
pub struct RootResourceService;
#[derive(EnumString, Debug, VariantNames, Clone)]
#[strum(serialize_all = "kebab-case")]
pub enum RootPropName {
@@ -68,6 +66,8 @@ impl Resource for RootResource {
}
}
pub struct RootResourceService;
#[async_trait(?Send)]
impl ResourceService for RootResourceService {
type PathComponents = ();