pub struct ProxyAuthCredentials {
pub username: String,
pub password: String,
pub method: ProxyAuthMethod,
pub domain: Option<String>,
}Expand description
Proxy authentication credentials.
Fields§
§username: StringUsername for proxy authentication.
password: StringPassword for proxy authentication.
method: ProxyAuthMethodThe authentication method to use.
domain: Option<String>Optional NTLM domain (e.g., “DOMAIN\user”).
Trait Implementations§
Source§impl Clone for ProxyAuthCredentials
impl Clone for ProxyAuthCredentials
Source§fn clone(&self) -> ProxyAuthCredentials
fn clone(&self) -> ProxyAuthCredentials
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProxyAuthCredentials
impl RefUnwindSafe for ProxyAuthCredentials
impl Send for ProxyAuthCredentials
impl Sync for ProxyAuthCredentials
impl Unpin for ProxyAuthCredentials
impl UnsafeUnpin for ProxyAuthCredentials
impl UnwindSafe for ProxyAuthCredentials
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more