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§impl PartialOrd for Socks5Auth
impl PartialOrd for Socks5Auth
impl Eq for Socks5Auth
impl StructuralPartialEq for Socks5Auth
Auto Trait Implementations§
impl Freeze for Socks5Auth
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.