#[derive(Debug, Clone, PartialEq, Eq)]
pub struct ProxyAuth {
username: String,
password: String,
}
impl ProxyAuth {
pub fn new(username: impl Into<String>, password: impl Into<String>) -> Self {
Self {
username: username.into(),
password: password.into(),
}
}
pub fn username(&self) -> &str {
&self.username
}
pub fn password(&self) -> &str {
&self.password
}
}