pub struct ProxyTypeSocks5 {
pub username: String,
pub password: String,
}
Expand description
A SOCKS5 proxy server
Fields§
§username: String
Username for logging in; may be empty
password: String
Password for logging in; may be empty
Trait Implementations§
Source§impl Clone for ProxyTypeSocks5
impl Clone for ProxyTypeSocks5
Source§fn clone(&self) -> ProxyTypeSocks5
fn clone(&self) -> ProxyTypeSocks5
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 moreSource§impl Debug for ProxyTypeSocks5
impl Debug for ProxyTypeSocks5
Source§impl Default for ProxyTypeSocks5
impl Default for ProxyTypeSocks5
Source§fn default() -> ProxyTypeSocks5
fn default() -> ProxyTypeSocks5
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProxyTypeSocks5
impl<'de> Deserialize<'de> for ProxyTypeSocks5
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProxyTypeSocks5
impl PartialEq for ProxyTypeSocks5
Source§impl Serialize for ProxyTypeSocks5
impl Serialize for ProxyTypeSocks5
impl StructuralPartialEq for ProxyTypeSocks5
Auto Trait Implementations§
impl Freeze for ProxyTypeSocks5
impl RefUnwindSafe for ProxyTypeSocks5
impl Send for ProxyTypeSocks5
impl Sync for ProxyTypeSocks5
impl Unpin for ProxyTypeSocks5
impl UnwindSafe for ProxyTypeSocks5
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