aboutsummaryrefslogtreecommitdiff
path: root/src/dav/types.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dav/types.rs')
-rw-r--r--src/dav/types.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/dav/types.rs b/src/dav/types.rs
index 1ff690f..7bbea8e 100644
--- a/src/dav/types.rs
+++ b/src/dav/types.rs
@@ -313,8 +313,8 @@ pub enum LockType {
///
/// <!ELEMENT multistatus (response*, responsedescription?) >
pub struct Multistatus<T> {
- responses: Vec<Response<T>>,
- responsedescription: Option<ResponseDescription>,
+ pub responses: Vec<Response<T>>,
+ pub responsedescription: Option<ResponseDescription>,
}
/// 14.17. owner XML Element
@@ -480,7 +480,7 @@ pub struct Response<T> {
/// user.
///
/// <!ELEMENT responsedescription (#PCDATA) >
-pub struct ResponseDescription(String);
+pub struct ResponseDescription(pub String);
/// 14.26. set XML Element
///
@@ -573,6 +573,7 @@ pub enum PropertyRequest {
GetLastModified,
LockDiscovery,
ResourceType,
+ SupportedLock,
}
pub enum Property {
/// 15.1. creationdate Property