Struct http_stub::header::Basic [] [src]

pub struct Basic {
    pub username: String,
    pub password: Option<String>,
}

Credential holder for Basic Authentication

Fields

username

The username as a possibly empty string

password

The password. None if the : delimiter character was not part of the parsed input.