pub struct DavLockXml {
pub token: String,
pub owner: Option<DavXmlElement>,
pub timeout: Option<Duration>,
pub shared: bool,
pub deep: bool,
pub root_href: String,
}Expand description
Protocol-visible lock values used to render lockdiscovery.
Fields§
§token: StringRaw lock token; the XML writer percent-encodes it for the href.
owner: Option<DavXmlElement>Optional validated owner element.
timeout: Option<Duration>Negotiated timeout, or None for Infinite.
Whether the lock is shared rather than exclusive.
deep: boolWhether the lock depth is infinity rather than zero.
root_href: StringEncoded href of the lock root.
Trait Implementations§
Source§impl Clone for DavLockXml
impl Clone for DavLockXml
Source§fn clone(&self) -> DavLockXml
fn clone(&self) -> DavLockXml
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DavLockXml
impl Debug for DavLockXml
Source§impl PartialEq for DavLockXml
impl PartialEq for DavLockXml
Source§fn eq(&self, other: &DavLockXml) -> bool
fn eq(&self, other: &DavLockXml) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DavLockXml
impl StructuralPartialEq for DavLockXml
Auto Trait Implementations§
impl Freeze for DavLockXml
impl RefUnwindSafe for DavLockXml
impl Send for DavLockXml
impl Sync for DavLockXml
impl Unpin for DavLockXml
impl UnsafeUnpin for DavLockXml
impl UnwindSafe for DavLockXml
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.