Struct hyper_socks2::Auth
source · pub struct Auth {
pub username: String,
pub password: String,
}
Expand description
Required for a username + password authentication.
Fields§
§username: String
§password: String
Implementations§
Trait Implementations§
source§impl PartialEq for Auth
impl PartialEq for Auth
impl Eq for Auth
impl StructuralPartialEq for Auth
Auto Trait Implementations§
impl RefUnwindSafe for Auth
impl Send for Auth
impl Sync for Auth
impl Unpin for Auth
impl UnwindSafe for Auth
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