pub async fn calendars(&'_ self) -> CalDavResult<Vec<Calendar>> {
        let body_string = xml! {
            <?xml version="1.0" encoding="utf-8" ?>
            <D:principal-match xmlns:D="DAV:">
                <D:self/>
                <D:prop>
                    <C:calendar-home-set
                    xmlns:C="urn:ietf:params:xml:ns:caldav"/>
                </D:prop>
            </D:principal-match>
        }
        .to_string();
        self.client
            .request(Method::from_bytes(REPORT).unwrap(), &self.url)
            .body(body_string)
            .send()
            .await?;
        todo!()
    }
/// Returns a list of calendars.
///
/// I think the spec discourages using this.
Returns a list of calendars.
I think the spec discourages using this.
Returns a list of calendars . I think the spec discourages using this .
pub async fn calendars(&'_ self) -> CalDavResult<Vec<Calendar>> {
        let body_string = xml! {
            <?xml version="1.0" encoding="utf-8" ?>
            <D:principal-match xmlns:D="DAV:">
                <D:self/>
                <D:prop>
                    <C:calendar-home-set
                    xmlns:C="urn:ietf:params:xml:ns:caldav"/>
                </D:prop>
            </D:principal-match>
        }
        .to_string();
        self.client
            .request(Method::from_bytes(REPORT).unwrap(), &self.url)
            .body(body_string)
            .send()
            .await?;
        todo!()
    }
pub async fn calendars ( & ' _ self ) -> CalDavResult < Vec < Calendar > > { let body_string = xml ! { xml version " " encoding " " D principal match xmlns D " " D self D prop C calendar home set xmlns C " " D prop D principal match } . to_string ( ) ; self . client . request ( Method :: from_bytes ( REPORT ) . unwrap ( ) , & self . url ) . body ( body_string ) . send ( ) . await ? ; todo ! ( ) }
Returns a list of calendars.
Returns a list of calendars .
&'_ self