pub struct PropfindBody { /* private fields */ }Expand description
A PROPFIND request body asking for a set of properties.
Namespace declarations are emitted here rather than by the writer, because
they belong to this document shape: oc and nc are only needed when a
property from that namespace is asked for.
Implementations§
Source§impl PropfindBody
impl PropfindBody
Sourcepub fn new(properties: impl IntoIterator<Item = DavProperty>) -> Self
pub fn new(properties: impl IntoIterator<Item = DavProperty>) -> Self
Asks for exactly properties.
Sourcepub fn properties(&self) -> &[DavProperty]
pub fn properties(&self) -> &[DavProperty]
Properties this body asks for.
Trait Implementations§
Source§impl Clone for PropfindBody
impl Clone for PropfindBody
Source§impl Debug for PropfindBody
impl Debug for PropfindBody
impl Eq for PropfindBody
Source§impl PartialEq for PropfindBody
impl PartialEq for PropfindBody
impl StructuralPartialEq for PropfindBody
Auto Trait Implementations§
impl Freeze for PropfindBody
impl RefUnwindSafe for PropfindBody
impl Send for PropfindBody
impl Sync for PropfindBody
impl Unpin for PropfindBody
impl UnsafeUnpin for PropfindBody
impl UnwindSafe for PropfindBody
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