Struct hyper_client_io_wizard::builder::Socks5Auth
source · pub struct Socks5Auth {
pub username: String,
pub password: String,
}
Fields§
§username: String
§password: String
Trait Implementations§
source§impl Clone for Socks5Auth
impl Clone for Socks5Auth
source§fn clone(&self) -> Socks5Auth
fn clone(&self) -> Socks5Auth
Returns a copy 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 moresource§impl Debug for Socks5Auth
impl Debug for Socks5Auth
source§impl From<Auth> for Socks5Auth
impl From<Auth> for Socks5Auth
source§impl From<Socks5Auth> for Auth
impl From<Socks5Auth> for Auth
source§fn from(auth: Socks5Auth) -> Self
fn from(auth: Socks5Auth) -> Self
Converts to this type from the input type.
source§impl Hash for Socks5Auth
impl Hash for Socks5Auth
source§impl Ord for Socks5Auth
impl Ord for Socks5Auth
source§fn cmp(&self, other: &Socks5Auth) -> Ordering
fn cmp(&self, other: &Socks5Auth) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for Socks5Auth
impl PartialEq for Socks5Auth
source§fn eq(&self, other: &Socks5Auth) -> bool
fn eq(&self, other: &Socks5Auth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Socks5Auth
impl PartialOrd for Socks5Auth
source§fn partial_cmp(&self, other: &Socks5Auth) -> Option<Ordering>
fn partial_cmp(&self, other: &Socks5Auth) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Socks5Auth
impl StructuralEq for Socks5Auth
impl StructuralPartialEq for Socks5Auth
Auto Trait Implementations§
impl RefUnwindSafe for Socks5Auth
impl Send for Socks5Auth
impl Sync for Socks5Auth
impl Unpin for Socks5Auth
impl UnwindSafe for Socks5Auth
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.