Struct dav_server::ls::DavLock
source · [−]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: StringToken.
path: DavPathPath/
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: boolDeep.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DavLock
impl Send for DavLock
impl Sync for DavLock
impl Unpin for DavLock
impl UnwindSafe for DavLock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more