pub struct DavLock {
pub token: String,
pub path: DavPath,
pub principal: Option<String>,
pub owner: Option<Element>,
pub timeout_at: Option<SystemTime>,
pub timeout: Option<Duration>,
pub shared: bool,
pub deep: bool,
}
Expand description
Type of the locks returned by DavLockSystem methods.
Fields§
§token: String
Token.
path: DavPath
Path/
principal: Option<String>
Principal.
owner: Option<Element>
Owner.
timeout_at: Option<SystemTime>
When the lock turns stale (absolute).
timeout: Option<Duration>
When the lock turns stale (relative).
Shared.
deep: bool
Deep.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DavLock
impl RefUnwindSafe for DavLock
impl Send for DavLock
impl Sync for DavLock
impl Unpin for DavLock
impl UnwindSafe for DavLock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more