mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 05:52:19 +00:00
dav: Make reusable for other projects
This commit is contained in:
@@ -3,9 +3,13 @@ pub mod error;
|
||||
pub mod extensions;
|
||||
pub mod namespace;
|
||||
pub mod privileges;
|
||||
pub mod push;
|
||||
pub mod resource;
|
||||
pub mod resources;
|
||||
pub mod xml;
|
||||
|
||||
use actix_web::FromRequest;
|
||||
pub use error::Error;
|
||||
|
||||
pub trait Principal: std::fmt::Debug + Clone + FromRequest + 'static {
|
||||
fn get_id(&self) -> &str;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user