Struct hyper::header::Basic [] [src]

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

Credential holder for Basic Authentication

Fields

username: String

The username as a possibly empty string

password: Option<String>

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