Expand description
Definitions and (de)serialization for WebDAV XML elements as defined in RFC 4918.
Since WebDAV uses XML namespaces and supports custom elements in the
<DAV:prop />
element, we can’t rely on e. g. serde
to (de)serialize
XML elements.
Instead, this crate uses the Element
trait to define an
element and FromXml
/IntoXml
for
(de)serialization.
Re-exports§
pub use nonempty;
Modules§
- elements
- XML element definitions based on RFC 4918.
- properties
- XML property definitions based on RFC 4918.
Structs§
Enums§
- Error
- Error type to wrap all errors that might occur when (de)serializing.
- Value
- Represents the content of an XML element.
Constants§
- DAV_
NAMESPACE - The default WebDAV namespace
- DAV_
PREFIX - The default WebDAV namespace prefix
Traits§
- Element
- Declares an element’s namespace and tag
- FromXml
- Performs deserialization from XML.
- IntoXml
- Performs serialization to XML.
Type Aliases§
- Result
- Alias for the result type that is used in this crate.