pub fn new_username_password<S1, S2, S3>(username: S1, password: S2, url: S3) -> Self
    where
        S1: Into<String>,
        S2: Into<String>,
        S3: Into<String>,
    {
        Self {
            auth_scheme: AuthScheme::new_username_password(username.into(), password.into()),
            url: url.into(),
            client: Client::new(),
            auth_header: AtomicRefCell::new(None),
        }
    }
/// Construct a new CalDAV client which uses username/password authentication.
Construct a new CalDAV client which uses username/password authentication.
Construct a new CalDAV client which uses username / password authentication .
pub fn new_username_password<S1, S2, S3>(username: S1, password: S2, url: S3) -> Self
    where
        S1: Into<String>,
        S2: Into<String>,
        S3: Into<String>,
    {
        Self {
            auth_scheme: AuthScheme::new_username_password(username.into(), password.into()),
            url: url.into(),
            client: Client::new(),
            auth_header: AtomicRefCell::new(None),
        }
    }
pub fn new_username_password < S1 , S2 , S3 > ( username : S1 , password : S2 , url : S3 ) -> Self where S1 : Into < String > , S2 : Into < String > , S3 : Into < String > , { Self { auth_scheme : AuthScheme :: new_username_password ( username . into ( ) , password . into ( ) ) , url : url . into ( ) , client : Client :: new ( ) , auth_header : AtomicRefCell :: new ( None ) , } }
Construct a new CalDAV client which uses username/password authentication.
Construct a new CalDAV client which uses username / password authentication .
username
S1
password
S2
url
S3