mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 08:12:24 +00:00
Minor refactoring and tracing
This commit is contained in:
@@ -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 = ();
|
||||
|
||||
Reference in New Issue
Block a user