pub struct Socks5Credentials {
pub username: String,
pub password: String,
}Fields§
§username: String§password: StringTrait Implementations§
Source§impl Clone for Socks5Credentials
impl Clone for Socks5Credentials
Source§fn clone(&self) -> Socks5Credentials
fn clone(&self) -> Socks5Credentials
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Socks5Credentials
impl Debug for Socks5Credentials
Source§impl<'de> Deserialize<'de> for Socks5Credentials
impl<'de> Deserialize<'de> for Socks5Credentials
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
impl Eq for Socks5Credentials
Source§impl PartialEq for Socks5Credentials
impl PartialEq for Socks5Credentials
Source§fn eq(&self, other: &Socks5Credentials) -> bool
fn eq(&self, other: &Socks5Credentials) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Socks5Credentials
impl Serialize for Socks5Credentials
impl StructuralPartialEq for Socks5Credentials
Auto Trait Implementations§
impl Freeze for Socks5Credentials
impl RefUnwindSafe for Socks5Credentials
impl Send for Socks5Credentials
impl Sync for Socks5Credentials
impl Unpin for Socks5Credentials
impl UnsafeUnpin for Socks5Credentials
impl UnwindSafe for Socks5Credentials
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