use serde::{Deserialize, Serialize};
#[derive(Debug, Deserialize, Serialize)]
#[serde(rename_all = "lowercase")]
pub struct Multistatus {
pub response: Vec<Response>,
}
#[derive(Debug, Deserialize, Serialize)]
#[serde(rename_all = "lowercase")]
pub struct Response {
pub href: String,
pub propstat: PropStat,
}
#[derive(Debug, Deserialize, Serialize)]
#[serde(rename_all = "lowercase")]
pub struct PropStat {
pub prop: Prop,
pub status: String,
}
#[derive(Debug, Deserialize, Serialize)]
#[serde(rename_all = "lowercase")]
pub struct Prop {
pub displayname: String,
pub getlastmodified: String,
pub resourcetype: ResourceType,
}
#[derive(Debug, Deserialize, Serialize)]
#[serde(rename_all = "lowercase")]
pub struct ResourceType {
pub collection: Option<String>,
}