mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-17 01:29:32 +00:00
22 lines
540 B
Rust
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 }
|
|
}
|
|
}
|