Files
rustical/crates/dav/src/xml/mod.rs

22 lines
540 B
Rust

pub mod multistatus;
mod propfind;
mod resourcetype;
pub mod tag_list;
use derive_more::derive::From;
pub use multistatus::MultistatusElement;
pub use propfind::{PropElement, PropfindElement, PropfindType, Propname};
pub use resourcetype::Resourcetype;
use rustical_xml::{XmlDeserialize, XmlSerialize};
pub use tag_list::TagList;
#[derive(XmlDeserialize, XmlSerialize, Debug, Clone, From, PartialEq)]
pub struct HrefElement {
pub href: String,
}
impl HrefElement {
pub fn new(href: String) -> Self {
Self { href }
}
}